Integrated: 8374711: Hotspot runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails without printing the option name
Matthias Baesken
mbaesken at openjdk.org
Thu Jan 8 12:48:22 UTC 2026
On Wed, 7 Jan 2026 13:06:49 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> We got the following error today on Linux Alpine :
>
>
> command: driver TestOptionsWithRanges 9 of 10
> reason: User specified action: run driver/timeout=1800 TestOptionsWithRanges 9 of 10
>
> java.lang.Error: Expected only "int", "intx", "size_t", "uint", "uintx", "uint64_t", or "double" option types! Got [Global type!
> at optionsvalidation.JVMOption.createVMOption(JVMOption.java:117)
> at optionsvalidation.JVMOptionsUtils.getJVMOptions(JVMOptionsUtils.java:282)
> at optionsvalidation.JVMOptionsUtils.getOptionsAsMap(JVMOptionsUtils.java:477)
> at optionsvalidation.JVMOptionsUtils.getOptionsWithRangeAsMap(JVMOptionsUtils.java:548)
> at TestOptionsWithRanges.main(TestOptionsWithRanges.java:213)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:565)
> at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
> at java.base/java.lang.Thread.run(Thread.java:1516)
>
>
> It would be helpful to get the option name in the Error output, but this is not yet available. So we should add it.
This pull request has now been integrated.
Changeset: 78b1ca6c
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/78b1ca6cc14e1a92bf25cbcfb687067ac17af92b
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8374711: Hotspot runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails without printing the option name
Reviewed-by: mdoerr, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/29089
More information about the hotspot-runtime-dev
mailing list