APAR status
Closed as program error.
Error description
Error Message: N/A . Stack Trace: N/A . When output of process.getInputstream() is read using BufferedReader.ready(), the buffer is empty even after the process exits.This happens when launching shortlived process using Runtime.exec.
Local fix
Introduce a delay of about 50-100 ms before checking for readiness of stream data using BufferedReader.ready().
Problem summary
The problem is due to delay in scheduling thread and initialization of stream for the process. This is a timing issue and the streams are not initialized before process exits.
Problem conclusion
IBM JDK has been updated with a condition to ensure that the streams are initialized before process exits. . This APAR will be fixed in the following Java Releases: 6 SR16 FP4 (6.0.16.4) 6 R1 SR8 FP4 (6.1.8.4) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
ZE FIX ERROR IV74918 15/07/08
Comments
APAR Information
APAR number
IV69758
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-02-21
Closed date
2015-03-26
Last modified date
2015-07-15
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
R600 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
15 July 2015