Class ResourceFinderIClassLoader

    • Method Detail

      • findIClass

        @Nullable
        protected IClass findIClass​(java.lang.String descriptor)
                             throws java.lang.ClassNotFoundException
        Description copied from class: IClassLoader
        Finds a new IClass by descriptor and calls IClassLoader.defineIClass(IClass).

        Similar ClassLoader.findClass(java.lang.String), this method must

        The format of a descriptor is defined in JVMS 4.3.2. Typical descriptors are:

        • I (Integer)
        • Lpkg1/pkg2/Clazz; (Class declared in package)
        • Lpkg1/pkg2/Outer$Inner; Member class

        Notice that this method is never called for array types.

        Notice that this method is never called from more than one thread at a time. In other words, implementations of this method need not be thread-safe.

        Specified by:
        findIClass in class IClassLoader
        Returns:
        null if a class with that descriptor could not be found
        Throws:
        java.lang.ClassNotFoundException - An exception was raised while loading the class