Class AndroidInterceptors.CleanerInterceptor

  • Enclosing class:
    AndroidInterceptors

    public static class AndroidInterceptors.CleanerInterceptor
    extends Interceptor
    Maps 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()