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

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 14
    • 9, 10, 11
    • hotspot
    • b04


      #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

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

              Created:
              Updated:
              Resolved: