Download
Abstract
TempFileInputStream.finalize() is not calling super.finalize(). So the file handle is not being closed properly.
Download Description
PK87294 resolves the following problem:
ERROR DESCRIPTION:
The finalize() method in TempFileInputStream class is not calling super.finalize() and the file handle is not being closed when the TempFileInputStream is finalized. It may cause a file handle leak.
LOCAL FIX:
PROBLEM SUMMARY
USERS AFFECTED:
All users of IBM WebSphere Application Server versions 6.1 and 7.0.
PROBLEM DESCRIPTION:
TempFileInputStream.finalize() is not calling super.finalize(). So the file handle is not being closed properly.
RECOMMENDATION:
None
TempFileInputStream.finalize() is not calling super.finalize() and the file handle is not being closed when the TempFileInputStream is finalized. It may cause a file handle leak. The solution is to call the finalize() method on superclass once cleanup is done with TempFileInputStream.finalize(). This leak is found in WebSphere Extended Deployment product, but code changes are common. The solution is to add super.finalize() in TempFileInputStream.finalize() method to call the finalize() method on superclass FileInputStream.
PROBLEM CONCLUSION:
TempFileInputStream.finalize() has been modified to call finalize() on superclass to ensure proper closure of InputStream.
The fix for this APAR is currently targeted for inclusion in
fix packs 6.1.0.27 & 7.0.0.5. Please refer to the Recommended
Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Prerequisites
Please download the UpdateInstaller below to install this fix.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
07 October 2019
UID
swg24024173