Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8173368

Convert jdk.internal.misc.VM.latestUserDefinedLoader to use StackWalker

XMLWordPrintable

      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.

            dfuchs Daniel Fuchs
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: