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

(zipfs) [TESTBUG] ZipFSTester.java failed intermittently in ZipFSTester.checkRead(): bound must be positive

    Details

    • Subcomponent:
    • Resolved In Build:
      b22

      Backports

        Description

        java.lang.IllegalArgumentException: bound must be positive
        at java.base/java.util.Random.nextInt(Random.java:388)
        at ZipFSTester.checkRead(ZipFSTester.java:487)
        at ZipFSTester.testStreamChannel(ZipFSTester.java:536)
        at ZipFSTester.main(ZipFSTester.java:98)
        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:566)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
        at java.base/java.lang.Thread.run(Thread.java:835)

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

        result: Failed. Execution failed: `main' threw exception: java.lang.IllegalArgumentException: bound must be positive

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  amlu Amy Lu
                  Reporter:
                  fyuan Frank Yuan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: