jdk/src/share/classes/java/io/ObjectInputStream.java
changeset 10797 f51518b30c84
parent 7803 56bc97d69d93
child 11117 b6e68b1344d4
--- a/jdk/src/share/classes/java/io/ObjectInputStream.java	Fri Oct 21 18:01:01 2011 +0900
+++ b/jdk/src/share/classes/java/io/ObjectInputStream.java	Mon Oct 24 20:55:08 2011 +0100
@@ -2025,8 +2025,9 @@
      * This method should not be removed or its signature changed without
      * corresponding modifications to the above class.
      */
-    // REMIND: change name to something more accurate?
-    private static native ClassLoader latestUserDefinedLoader();
+    private static ClassLoader latestUserDefinedLoader() {
+        return sun.misc.VM.latestUserDefinedLoader();
+    }
 
     /**
      * Default GetField implementation.