--- 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.