adoptium / aqa-systemtest

Java load testing and other full system application tests
Apache License 2.0
19 stars 65 forks source link

system tests failing to compile on jdk11 #397

Closed pshipton closed 3 years ago

pshipton commented 3 years ago

Example: https://ci.eclipse.org/openj9/job/Test_openjdk11_j9_special.system_ppc64_aix_Nightly_testList_3/51/console

03:08:42  build-java-11-and-up:
03:08:42      [javac] Compiling 16 source files to /home/****/workspace/Test_openjdk11_j9_special.system_ppc64_aix_Nightly_testList_3/openjdk-tests/system/openjdk-systemtest/openjdk.test.debugging/bin
03:08:45      [javac] /home/****/workspace/Test_openjdk11_j9_special.system_ppc64_aix_Nightly_testList_3/openjdk-tests/system/openjdk-systemtest/openjdk.test.debugging/src_110/test.debugging/net/adoptopenjdk/test/hcrAgent/agent/MyClassVisitor.java:45: error: cannot find symbol
03:08:45      [javac]       super(Opcodes.ASM7, cv);
03:08:45      [javac]                    ^
03:08:45      [javac]   symbol:   variable ASM7
03:08:45      [javac]   location: interface Opcodes
03:08:45      [javac] /home/****/workspace/Test_openjdk11_j9_special.system_ppc64_aix_Nightly_testList_3/openjdk-tests/system/openjdk-systemtest/openjdk.test.debugging/src_110/test.debugging/net/adoptopenjdk/test/hcrAgent/agent/MyMethodVisitor.java:39: error: cannot find symbol
03:08:45      [javac]       super(Opcodes.ASM7, mv);
03:08:45      [javac]                    ^
03:08:45      [javac]   symbol:   variable ASM7
03:08:45      [javac]   location: interface Opcodes
03:08:45      [javac] Note: Some input files use or override a deprecated API.
03:08:45      [javac] Note: Recompile with -Xlint:deprecation for details.
03:08:45      [javac] 2 errors

I see these changes from the previous working build. https://github.com/AdoptOpenJDK/openjdk-systemtest/compare/7165bc1dd7e352762dea9...605a5b304b754ca9

pshipton commented 3 years ago

@LongyuZhang @llxia

https://github.com/AdoptOpenJDK/openjdk-systemtest/pull/394

pshipton commented 3 years ago

fyi https://ci.eclipse.org/openj9/job/Pipeline-Build-Test-All-11/438/

llxia commented 3 years ago

Also failed in hotspot: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_sanity.system_aarch64_linux/434/

llxia commented 3 years ago

I will revert the change for now.

llxia commented 3 years ago

Changes are reverted and system tests are green. Close this issue.