java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(java.base@9-internal/BufferedInputStream.java:170) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:336) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107)

JDK Bug System | Alejandro Murillo | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The following tests are failinmg for the jdlk9/hs. They do not fail on jdk9/dev They only fail on windows: FAILED: sun/tools/jstatd/TestJstatdDefaults.java FAILED: sun/tools/jstatd/TestJstatdExternalRegistry.java FAILED: sun/tools/jstatd/TestJstatdPort.java FAILED: sun/tools/jstatd/TestJstatdPortAndServer.java FAILED: sun/tools/jstatd/TestJstatdServer.java They need to be fixed/excluded in jdk9/dev. STDERR: java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(java.base@9-internal/BufferedInputStream.java:170) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:336) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107) at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-internal/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-internal/FutureTask.java:264) at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) java.io.IOException: Stream Closed at java.io.FileInputStream.readBytes(java.base@9-internal/Native Method) at java.io.FileInputStream.read(java.base@9-internal/FileInputStream.java:255) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107) at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-internal/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-internal/FutureTask.java:264) at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false at jdk.testlibrary.Asserts.fail(Asserts.java:540) at jdk.testlibrary.Asserts.assertTrue(Asserts.java:490) at JstatGCUtilParser.parse(JstatGCUtilParser.java:150) at JstatdTest.verifyJstatOutput(JstatdTest.java:206) at JstatdTest.runToolsAndVerify(JstatdTest.java:214) at JstatdTest.doTest(JstatdTest.java:325) at TestJstatdDefaults.main(TestJstatdDefaults.java:37) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test

    JDK Bug System | 8 months ago | Alejandro Murillo
    java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(java.base@9-internal/BufferedInputStream.java:170) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:336) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107)

    Root Cause Analysis

    1. java.io.IOException

      Stream closed at java.io.BufferedInputStream.getBufIfOpen(java.base@9-internal/BufferedInputStream.java:170) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:336) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107)

      at jdk.testlibrary.StreamPumper.run()
    2. jdk.testlibrary
      StreamPumper.run
      1. jdk.testlibrary.StreamPumper.run(StreamPumper.java:117)
      1 frame