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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • b163
    • generic
    • generic
    • Not verified

        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)

              hseigel Harold Seigel (Inactive)
              twisti Christian Thalinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: