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

ReadAllReadNTransferTo fails occasionally

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b07

      Description

      ReadAllReadNTransferTo
      ----------System.out:(1/48)----------
      Seed from RandomFactory = 1102314467664923337L
      ----------System.err:(13/812)----------
      java.lang.IllegalArgumentException: bound must be positive
          at java.base/java.util.Random.nextInt(Random.java:388)
          at ReadAllReadNTransferTo.main(ReadAllReadNTransferTo.java:53)
          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:569)
          at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
          at java.base/java.lang.Thread.run(Thread.java:841)

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bpb Brian Burkhalter
                Reporter:
                chegar Chris Hegarty
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: