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

[TESTBUG] runtime/modules/IgnoreModulePropertiesTest.java fails with OpenJDK: java.lang.RuntimeException: 'java version ' missing from stdout/stderr

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b163
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        Running runtime/modules/IgnoreModulePropertiesTest.java with OpenJDK leads to:

        STDERR:
         stdout: [];
         stderr: [OpenJDK 64-Bit Server VM warning: Ignoring system property options whose names match the '-Djdk.module.*'. names that are reserved for internal use.
        openjdk version "9-internal"
        OpenJDK Runtime Environment (build 9-internal+0-adhoc.cthalinger.jdk9)
        OpenJDK 64-Bit Server VM (build 9-internal+0-adhoc.cthalinger.jdk9, mixed mode)
        ]
         exitValue = 0

        java.lang.RuntimeException: 'java version ' missing from stdout/stderr

        at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
        at IgnoreModulePropertiesTest.testProperty(IgnoreModulePropertiesTest.java:47)
        at IgnoreModulePropertiesTest.testOption(IgnoreModulePropertiesTest.java:66)
        at IgnoreModulePropertiesTest.main(IgnoreModulePropertiesTest.java:70)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:547)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
        at java.base/java.lang.Thread.run(Thread.java:844)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                hseigel Harold Seigel
                Reporter:
                twisti Christian Thalinger
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: