Building with --with-jvm-variants=core currently produces a binary that replies an odd version:
$ build/linux-x86_64-core-fastdebug/images/jdk/bin/java -version openjdk version "18-internal" 2022-03-15 OpenJDK Runtime Environment (fastdebug build 18-internal+0-adhoc.shade.jdk) OpenJDK 64-Bit VM (fastdebug build 18-internal+0-adhoc.shade.jdk, interpreted mode) It should actually say "OpenJDK 64-Bit Core VM", I think. Build just misses a simple definition of `VMTYPE` for core variant. After the patch: $ build/linux-x86_64-core-fastdebug/images/jdk/bin/java -client -version openjdk version "18-internal" 2022-03-15 OpenJDK Runtime Environment (fastdebug build 18-internal+0-adhoc.shade.jdk) OpenJDK 64-Bit Core VM (fastdebug build 18-internal+0-adhoc.shade.jdk, interpreted mode) ------------- Commit messages: - Fix Changes: https://git.openjdk.java.net/jdk/pull/5525/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5525&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8273801 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/5525.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5525/head:pull/5525 PR: https://git.openjdk.java.net/jdk/pull/5525