On Wed, 15 Sep 2021 09:55:22 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> 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) This pull request has now been integrated. Changeset: 181292d4 Author: Aleksey Shipilev <sh...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/181292d48c989e3206354cea73bec015c13a986b Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod 8273801: Handle VMTYPE for "core" VM variant Reviewed-by: dholmes, erikj ------------- PR: https://git.openjdk.java.net/jdk/pull/5525