jdk/src/share/classes/sun/rmi/server/MarshalInputStream.java
changeset 10797 f51518b30c84
parent 5506 202f599c92aa
child 10799 4ed675b3ae89
equal deleted inserted replaced
10796:a78533d1bbc6 10797:f51518b30c84
   260 
   260 
   261     /*
   261     /*
   262      * Returns the first non-null class loader up the execution stack, or null
   262      * Returns the first non-null class loader up the execution stack, or null
   263      * if only code from the null class loader is on the stack.
   263      * if only code from the null class loader is on the stack.
   264      */
   264      */
   265     private static native ClassLoader latestUserDefinedLoader();
   265     private static ClassLoader latestUserDefinedLoader() {
       
   266         return sun.misc.VM.latestUserDefinedLoader();
       
   267     }
   266 
   268 
   267     /**
   269     /**
   268      * Fix for 4179055: Need to assist resolving sun stubs; resolve
   270      * Fix for 4179055: Need to assist resolving sun stubs; resolve
   269      * class locally if it is a "permitted" sun class
   271      * class locally if it is a "permitted" sun class
   270      */
   272      */