JDK-8068948 : Update java.base module to use new try-with-resources statement
Type:Enhancement
Component:core-libs
Sub-Component:java.io
Affected Version:9
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2015-01-14
Updated:2015-06-04
Resolved:2015-01-15
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.
The new and improved try-with-resources statement (JDK-7196163) allow a final or effectively final resource to be used directly without a new resource being declared.
The java.base module should take advantage of this facility.