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)