Class FinalizableReferenceQueue.DecoupledLoader

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String LOADING_ERROR  
    • Constructor Summary

      Constructors 
      Constructor Description
      DecoupledLoader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.net.URL getBaseUrl()
      Gets URL for base of path containing Finalizer.class.
      java.lang.Class<?> loadFinalizer()
      Returns Finalizer.class or null if this loader shouldn't or can't load it.
      (package private) java.net.URLClassLoader newLoader​(java.net.URL base)
      Creates a class loader with the given base URL as its classpath.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DecoupledLoader

        DecoupledLoader()
    • Method Detail

      • getBaseUrl

        java.net.URL getBaseUrl()
                         throws java.io.IOException
        Gets URL for base of path containing Finalizer.class.
        Throws:
        java.io.IOException
      • newLoader

        java.net.URLClassLoader newLoader​(java.net.URL base)
        Creates a class loader with the given base URL as its classpath.