APAR status
Closed as program error.
Error description
Error Message: . Stack Trace: N/A .
Local fix
N/A
Problem summary
The problem happens because java.io.PipedInputStream.available() isn't handled properly when the underlying java.io.InputStream returns -1 in case of empty streams. The return value of available() in Java 7 has been changed to -1 for consistency with Java 6 although the specification doesn't define a return value. The Java 8 specification has defined the return value to be zero on empty streams. java.io.BufferedInputStream.available() also behaves the same on empty streams.
Problem conclusion
Code has been corrected to handle case of empty streams properly . This APAR will be fixed in the following Java Releases: 7 SR9 FP 10 (7.0.9.10) 7 R1 SR3 FP10 (7.1.3.10) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IV75622
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-07-30
Closed date
2015-07-30
Last modified date
2015-07-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
21 February 2022