The test case
api/java_net/distributed/index.html#NetDistributed[distributed2006]
failed on Linux x86 platfrom during JCK-plugin 7 testing with JDK 7 b134. The error message is below:
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:595)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:341)
at java.util.jar.JarFile.getInputStream(JarFile.java:403)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getInputStream(Unknown Source)
at sun.misc.URLClassPath$Loader$1.getInputStream(URLClassPath.java:553)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at javasoft.sqe.tests.api.java.net.distributed.MyURLClassLoader.findClass(NetDistributedTests.java:2202)
at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests$6.run(NetDistributedTests.java:886)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:279)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.distributed2006(NetDistributedTests.java:932)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at javasoft.sqe.javatest.lib.TestCases.invokeTestCases(TestCases.java:173)
at com.sun.jck.lib.DistributedMultiTest.go(DistributedMultiTest.java:57)
at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.go(NetDistributedTests.java:84)
at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:71)
at com.sun.jck.lib.DistributedMultiTest.run(DistributedMultiTest.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:488)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:436)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:259)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:161)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:815)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:759)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:621)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:392)
at com.sun.javatest.agent.Agent.access$000(Agent.java:60)
at com.sun.javatest.agent.Agent$1.run(Agent.java:270)
at java.lang.Thread.run(Thread.java:722)
distributed2006: Failed. Exception from test case: java.lang.IllegalStateException: zip file closed
The issue very similar to the described one in the CR 6635067. But the last was filed against JDK 6. And the issue in this CR looks like regression due to the test passes with JKD 7 b127 and failed with JDK 7 b128.
The issue is reproducible only in Plugin mode.