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

java/security/SecureRandom/ThreadSafe.java failed on windows

XMLWordPrintable

        The expected RuntimeException didn't raise.

        #1
        java.lang.RuntimeException: IN CALL
        at ThreadSafe$S.engineNextBytes(ThreadSafe.java:86)
        at java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:742)
        at NoSync$1.run(NoSync.java:81)
        java.lang.RuntimeException: IN CALL
        at ThreadSafe$S.engineNextBytes(ThreadSafe.java:86)
        at java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:742)
        at NoSync$1.run(NoSync.java:81)
        java.lang.RuntimeException: IN CALL
        at ThreadSafe$S.engineNextBytes(ThreadSafe.java:86)
        at java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:742)
        at NoSync$1.run(NoSync.java:81)
        java.lang.RuntimeException: IN CALL
        at ThreadSafe$S.engineNextBytes(ThreadSafe.java:86)
        at java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:742)
        at NoSync$1.run(NoSync.java:81)
        java.lang.Exception: Failed
        at ThreadSafe.main(ThreadSafe.java:47)
        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)

        #2
        ----------System.out:(10/142)----------
        S
        S1 P
        Sat Apr 11 19:11:53 GMT 2020
        Sat Apr 11 19:11:56 GMT 2020

        S
        S2 P
        Sat Apr 11 19:11:56 GMT 2020
        Sat Apr 11 19:12:00 GMT 2020

        ----------System.err:(12/686)----------
        java.lang.Exception: Failed
        at ThreadSafe.main(ThreadSafe.java:40)
        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)

              jjiang John Jiang
              jjiang John Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: