1084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux/* 2084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * Copyright (C) 2017 The Android Open Source Project 3084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * 4084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * Licensed under the Apache License, Version 2.0 (the "License"); 5084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * you may not use this file except in compliance with the License. 6084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * You may obtain a copy of the License at 7084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * 8084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * http://www.apache.org/licenses/LICENSE-2.0 9084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * 10084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * Unless required by applicable law or agreed to in writing, software 11084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * distributed under the License is distributed on an "AS IS" BASIS, 12084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * See the License for the specific language governing permissions and 14084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * limitations under the License. 15084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux */ 16084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux 17084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieuxpackage org.robolectric.android.fakes; 18084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux 19084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux/** 20084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux * A stand-in for sun.misc.Cleaner which is absent on JDK 1.9+. 21084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux */ 22084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieuxpublic class RoboCleaner { 23084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux 24084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux @SuppressWarnings("unused") 25084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux public static RoboCleaner create(Object referent, Runnable runnable) { 26084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux return null; 27084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux } 28084d588b645d53c1110ff24b82433b5a331cc6d3James Lemieux} 29