<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>I am trying to reproduce the error in</div>
<div>https://bugs.openjdk.org/browse/JDK-8329797 using the given replay file. I get</div>
<div>the following error:</div>
<div><br>
</div>
<div>```</div>
<div>dev-dsk-joshcao-2b-df0d3645 [home/joshcao/src/dacapobench/release]$ ~/jdk/shenandoah/build/linux-x86_64-server-slowdebug/images/jdk/bin/java -cp dacapo-23.8-chopin-RC1/jar/lib/h2/h2-2.1.214.jar -XX:+UseShenandoahGC -XX:+ReplayCompiles -XX:ReplayDataFile=maxlreplay.log
 -jar dacapo-23.8-chopin-RC1.jar h2</div>
<div>java.lang.NoClassDefFoundError: org/h2/index/Index</div>
<div>Error while parsing line 6 at position 33: org/h2/index/Index</div>
<div><br>
</div>
<div>java.lang.NoClassDefFoundError: org/h2/index/Index</div>
<div>Caused by: java.lang.ClassNotFoundException: org.h2.index.Index</div>
<div>        at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@23-internal/BuiltinClassLoader.java:641)</div>
<div>        at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@23-internal/ClassLoaders.java:188)</div>
<div>        at java.lang.ClassLoader.loadClass(java.base@23-internal/ClassLoader.java:528)</div>
<div><br>
</div>
<div>Failed on org/h2/index/Index</div>
<div>```</div>
<div><br>
</div>
<div>I got the dacapo jar file from</div>
<div>https://github.com/dacapobench/dacapobench/releases/tag/v23.9-RC1-chopin. The</div>
<div>`h2` classes are located in `dacapo-23.8-chopin-RC1/jar/lib/h2/h2-2.1.214.jar`.</div>
<div>I guess the replay mechanism cannot find those classes.</div>
<div><br>
</div>
<div><br>
</div>
<div>Any tips on how to fix the `NoClassDefFoundError`?</div>
<div><br>
</div>
<br>
<p></p>
<p><span></span></p>
</div>
</body>
</html>