Package org.robolectric.interceptors
package org.robolectric.interceptors
-
ClassDescriptionMaps calls to Cleaner, which moved between Java 8 and 9:
sun.misc.Cleaner.create()
->new java.lang.ref.Cleaner().register()
sun.misc.Cleaner.clean()
->java.lang.ref.Cleaner.Cleanable().clean()
Intercepts calls to libcore-extensions toFileDescriptor
.AndroidInterceptor for NioUtils.freeDirectBuffer.AndroidInterceptor for NioUtils.unsafeArray.AndroidInterceptor for NioUtils.unsafeArrayOffset.AndroidInterceptor for Reference.refersTo which is not available until JDK 16.Intercepts calls to methods inSocket
not present in the OpenJDK.AndroidInterceptor for System.logE and System.logW.