Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273235

tools/launcher/HelpFlagsTest.java Fails on Windows 32bit

XMLWordPrintable

    • b23
    • x86
    • windows

        HelpFlagsTest.java appears to fail on Windows 32bit (and not Windows 64bit), with the following error:

        23:47:39 STDERR:
        23:47:39 java.lang.AssertionError: HelpFlagsTest failed:
        23:47:39 Tool jaccessinspector-32.exe not covered by this test. Add specification to jdkTools array!
        23:47:39 Tool jaccesswalker-32.exe not covered by this test. Add specification to jdkTools array!
        23:47:39
        23:47:39 at HelpFlagsTest.main(HelpFlagsTest.java:378)
        23:47:39 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        23:47:39 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        23:47:39 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        23:47:39 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        23:47:39 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        23:47:39 at java.base/java.lang.Thread.run(Thread.java:829)
        23:47:39
        23:47:39 JavaTest Message: Test threw exception: java.lang.AssertionError
        23:47:39 JavaTest Message: shutting down test

        Since this appears to be a straightforward test setup/config issue with low priority, I'm raising this bug to register the issue's existence until such time as I (or anyone else with free time) get around to creating a fix.

        Note: Looks to be as simple as adding jaccessinspector-32 and jaccesswalker-32 to TOOLS_NOT_TO_TEST at the top of HelpFlagsTest.java, as the non-32bit versions are already there.

        Issue seen on JDK11 and JDK16, and the test doesn't appear to exist on JDK8.

              cstein Christian Stein
              afarley Adam Farley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: