Hotspot runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails without printing the option name

XMLWordPrintable

    • b05
    • x86_64
    • linux_alpine

        We get 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, but this is not yet available.

              Assignee:
              Matthias Baesken
              Reporter:
              Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: