It's kind of comical that a test named IncompatibleOptions.java fails with incompatible options :-)
The problem is that OpenJDK does not enable ZGC by default:
checking user specified JVM feature list...
checking if zgc should be built... no
but the test assumes it's available on linux-x64.
I think Oracle's internal builds are fine because of this in make/conf/jib-profiles.js:
// Enable ZGC in linux-x64-open builds
[ "linux-x64-open" ].forEach(function (name) {
var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] };
The problem is that OpenJDK does not enable ZGC by default:
checking user specified JVM feature list...
checking if zgc should be built... no
but the test assumes it's available on linux-x64.
I think Oracle's internal builds are fine because of this in make/conf/jib-profiles.js:
// Enable ZGC in linux-x64-open builds
[ "linux-x64-open" ].forEach(function (name) {
var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] };
- duplicates
-
JDK-8210259 [testbug] IncompatibleOptions.java fails if VM configured without ZGC
-
- Resolved
-