You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been directed here from AdoptOpenJDK which uses some openj9 tests. Not all of them seem to compile on non-openj9 JVMs. I'm on Fedora 28 with package java-1.8.0-openjdk-devel installed.
[javac] symbol: variable J9BuildFlags
[javac] location: class DumpSegmentsVM29
[javac] /home/sgehwolf/Documents/openjdk/adopt-openjdk-prototype/openjdk-tests/do-tests/functional/DDR_Test/src/j9vm/test/ddrext/plugin/dumpsegments/DumpSegmentsVM29.java:242: error: cannot find symbol
[javac] reportObjectRegion(region, start, end, subspace, type, size, addr, out, J9BuildFlags.env_data64);
[javac] ^
[javac] symbol: variable J9BuildFlags
[javac] location: class DumpSegmentsVM29
[javac] 100 errors
BUILD FAILED
/home/sgehwolf/Documents/openjdk/adopt-openjdk-prototype/openjdk-tests/do-tests/TestConfig/scripts/build_test.xml:71: The following error occurred while executing this line:
/home/sgehwolf/Documents/openjdk/adopt-openjdk-prototype/openjdk-tests/do-tests/functional/build.xml:52: The following error occurred while executing this line:
/home/sgehwolf/Documents/openjdk/adopt-openjdk-prototype/openjdk-tests/do-tests/functional/DDR_Test/build.xml:113: The following error occurred while executing this line:
/home/sgehwolf/Documents/openjdk/adopt-openjdk-prototype/openjdk-tests/do-tests/functional/DDR_Test/build.xml:59: Compile failed; see the compiler error output for details.
The text was updated successfully, but these errors were encountered:
Thanks @jerboaa - I will paste some of my comments from the Adopt testing slack channel here:
Essentially, we have this scenario:
openjdk tests were initially created to test a hotspot impl (so some tests need to be excluded to be used against openj9, which we have almost finished doing, some work still needed for jdk11)
functional tests were initially created to test an openj9 impl (we have not done the work yet to make the entire suite useful for a hotspot impl, but it is in plan - as in we will attempt to address this issue in the near-term/early 2019)
These 2 test groups (openjdk and functional) have some overlap, tests that test the same functionality, but some pieces that are quite different. We have an work item to get code coverage builds running, which should better show the overlap and gaps, and help us focus our efforts in the right places to fill any remaining gaps.
I've been directed here from AdoptOpenJDK which uses some openj9 tests. Not all of them seem to compile on non-openj9 JVMs. I'm on Fedora 28 with package
java-1.8.0-openjdk-devel
installed.Steps to reproduce:
Fails with:
The text was updated successfully, but these errors were encountered: