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

jittester shouldn't use non-deterministic System methods

XMLWordPrintable

    • b12

      Attached test failed with
      java.lang.RuntimeException: Actual stdout isn't equal to golden one: expected [Test_341.var_257 = null
      Test_341.var_259 = null
      Test_341.var_254 = 700071916933788
      Test_341.var_256 = null
      Test_341.var_255 = null
      Test_341.var_258 = 0
      Test_341.var_260 = 21992]
       to equal [Test_341.var_257 = null
      Test_341.var_259 = null
      Test_341.var_254 = 10898224812728893
      Test_341.var_256 = null
      Test_341.var_255 = null
      Test_341.var_258 = 0
      Test_341.var_260 = 21992]

      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
      at jdk.test.lib.jittester.jtreg.JitTesterDriver.main(JitTesterDriver.java:62)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

        1. Test_341.gold.err
          0.0 kB
        2. Test_341.gold.exit
          0.0 kB
        3. Test_341.gold.out
          0.2 kB
        4. Test_341.java
          97 kB

            iignatyev Igor Ignatyev (Inactive)
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: