Skip to content

Commit 6ff3150

Browse files
shai-almogclaude
andauthored
ByteCodeTranslator: add asm-analysis to compile classpath (#5256)
Parser.java imports org.objectweb.asm.tree.analysis.{Analyzer, BasicInterpreter, BasicValue, Frame}, which ship in the asm-analysis module (sibling of asm-tree). The jar was missing from javac.classpath, so the translator failed to compile (cannot find symbol). Add the file.reference + classpath entry, matching the existing asm 9.8 jars. Requires asm-analysis-9.8.jar in cn1-binaries/vm (separate PR). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent bbd0471 commit 6ff3150

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vm/ByteCodeTranslator/nbproject/project.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ excludes=
3232
file.reference.asm-9.8.jar=../../../cn1-binaries/vm/asm-9.8.jar
3333
file.reference.asm-commons-9.8.jar=../../../cn1-binaries/vm/asm-commons-9.8.jar
3434
file.reference.asm-tree-9.8.jar=../../../cn1-binaries/vm/asm-tree-9.8.jar
35+
file.reference.asm-analysis-9.8.jar=../../../cn1-binaries/vm/asm-analysis-9.8.jar
3536
includes=**
3637
jar.compress=false
3738
javac.classpath=\
3839
${file.reference.asm-9.8.jar}:\
3940
${file.reference.asm-commons-9.8.jar}:\
40-
${file.reference.asm-tree-9.8.jar}
41+
${file.reference.asm-tree-9.8.jar}:\
42+
${file.reference.asm-analysis-9.8.jar}
4143
# Space-separated list of extra javac options
4244
javac.compilerargs=
4345
javac.deprecation=false

0 commit comments

Comments
 (0)