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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 14
    • 9, 10, 11
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: