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

AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b04

      Description


      #1 java -cp hello.jar -Xshare:dump -XX:SharedArchiveFile=my.jsa

      #2 java -cp hello.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello

      #3 ln -s hello.jar hello2.jar

      Referring to the "hello.jar" file in any other way than "hello.jar" doesn't work:

      #4 java -cp hello2.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello

      #5 java -cp ./hello.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello

      #6 java -cp /Fullpath/hello.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ccheung Calvin Cheung
                Reporter:
                gziemski Gerard Ziemski
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: