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

runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found

XMLWordPrintable

    • b16

        This happens on x86_32:

        STDERR:
         stdout: [[0.008s][info][cds] UseSharedSpaces: Specified shared archive not found.
        ];
         stderr: [Agent library loaded with options = java/lang/Object,XXX,XXX
        CLASS_NAME = java/lang/Object, FROM = XXX, TO = XXX
        openjdk version "13-internal" 2019-09-17
        OpenJDK Runtime Environment (fastdebug build 13-internal+0-adhoc.shade.jdk-jdk)
        OpenJDK Server VM (fastdebug build 13-internal+0-adhoc.shade.jdk-jdk, mixed mode)
        Exception in thread "main" java.lang.RuntimeException: class java.lang.Object should be shared but but actually is not.
        at ReplaceCriticalClasses.testInChild(ReplaceCriticalClasses.java:197)
        at ReplaceCriticalClasses.process(ReplaceCriticalClasses.java:54)
        at ReplaceCriticalClasses.main(ReplaceCriticalClasses.java:45)
        ]
         exitValue = 1

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: