JDK-8062464 : sun/tools/jcmd/TestJcmdDefaults failed due to "java.io.IOException: Stream closed"
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 9
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-10-29
  • Updated: 2017-07-26
  • Resolved: 2014-10-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
sun/tools/jcmd/TestJcmdDefaults failed due to "java.io.IOException: Stream closed"

    ----------System.err:(29/2179)----------
    java.io.IOException: Stream closed
    	at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
    	at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
    	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
    	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    	at java.io.FilterInputStream.read(FilterInputStream.java:107)
    	at jdk.testlibrary.StreamPumper.run(StreamPumper.java:112)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:265)
    	at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:191)
    	at java.lang.Thread.run(Thread.java:745)
    java.lang.RuntimeException: The ouput should contain all content of /scratch/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_JDK/test/sun/tools/jcmd/usage.out: expected true, was false
    	at jdk.testlibrary.Asserts.fail(Asserts.java:536)
    	at jdk.testlibrary.Asserts.assertTrue(Asserts.java:486)
    	at TestJcmdDefaults.verifyOutputAgainstFile(TestJcmdDefaults.java:101)
    	at TestJcmdDefaults.testJcmdUsage(TestJcmdDefaults.java:66)
    	at TestJcmdDefaults.main(TestJcmdDefaults.java:52)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
    	at java.lang.Thread.run(Thread.java:745)

    JavaTest Message: Test threw exception: java.lang.RuntimeException: The ouput should contain all content of /scratch/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_JDK/test/sun/tools/jcmd/usage.out: expected true, was false
    JavaTest Message: shutting down test

    STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The ouput should contain all content of /scratch/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_JDK/test/sun/tools/jcmd/usage.out: expected true, was false

Comments
Already fixed in jdk repo
30-10-2014