-
Bug
-
Resolution: Unresolved
-
P3
-
9
JVM_LatestUserDefinedLoader can be removed. The stack walking can be done in java.
We should have java.io.ObjectInputStream and java.rmi.MarshalInputStream which are the two clients of jdk.internal.misc.VM.latestUserDefinedLoader to do the stack walking itself and remove jdk.internal.misc.VM.latestUserDefinedLoader entirely. It's not a good practice to define an API to walk the stack to find the first user-defined loader.
We should have java.io.ObjectInputStream and java.rmi.MarshalInputStream which are the two clients of jdk.internal.misc.VM.latestUserDefinedLoader to do the stack walking itself and remove jdk.internal.misc.VM.latestUserDefinedLoader entirely. It's not a good practice to define an API to walk the stack to find the first user-defined loader.
- is blocked by
-
JDK-8173898 StackWalker.walk throws InternalError if called from a constructor invoked through reflection.
- Closed
- relates to
-
JDK-8170116 Remove qualified exports from java.base to java.corba
- Closed