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

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

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: