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

ciReplay: java.lang.NoClassDefFoundError when trying to load java/lang/invoke/LambdaForm$MH

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b23

      Description


      ciReplay fails with
      java.lang.NoClassDefFoundError: java/lang/invoke/LambdaForm$MH+0x0000000801001000
      Caused by: java.lang.ClassNotFoundException: java.lang.invoke.LambdaForm$MH+0x0000000801001000
              at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@18-internal/BuiltinClassLoader.java:641)
              at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@18-internal/ClassLoaders.java:188)
              at java.lang.ClassLoader.loadClass(java.base@18-internal/ClassLoader.java:520)

      when trying to
      ciInstanceKlass java/lang/invoke/LambdaForm$MH+0x0000000801001000 1 1 50 1 7 1 100 1 1 1 1 1 1 1 7 1 1 12 9 1 12 9 1 7 1 1 12 10 1 1 1 1 1 7 1 1 12 10 1 7 1 1 12 11 1 7 12 9 1 1 1 1


      To reproduce the issue use test/jdk/java/lang/String/Split.java as the test case.


      > cp test/jdk/java/lang/String/Split.java to some local dir
      > $JAVA_HOME/bin/javac Split.java
      > $JAVA_HOME/bin/java -XX:CompileCommand=option,Split::*,DumpReplay Split
      > $JAVA_HOME/bin/java -XX:+ReplayCompiles -XX:ReplayDataFile=[replay file created by previous step]

      the last command fails with
      Resolving klass java/lang/Exception at 135
      java.lang.NoClassDefFoundError: java/lang/invoke/LambdaForm$MH+0x0000000801001000
      Error while parsing line 946: java/lang/invoke/LambdaForm$MH+0x0000000801001000

      java.lang.NoClassDefFoundError: java/lang/invoke/LambdaForm$MH+0x0000000801001000
      Caused by: java.lang.ClassNotFoundException: java.lang.invoke.LambdaForm$MH+0x0000000801001000
              at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@18-internal/BuiltinClassLoader.java:641)
              at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@18-internal/ClassLoaders.java:188)
              at java.lang.ClassLoader.loadClass(java.base@18-internal/ClassLoader.java:520)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dlong Dean Long
              Reporter:
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: