JDK-4926319 : java.util.Scanner needs a close method
Type:Bug
Component:core-libs
Sub-Component:java.util
Affected Version:1.4.2,5.0
Priority:P3
Status:Resolved
Resolution:Fixed
OS:solaris_9
CPU:x86,sparc
Submitted:2003-09-22
Updated:2017-05-16
Resolved:2003-10-24
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.
Sometimes a Scanner needs to be able to release resources when its use in over, such as in the case where a scanner is created to scan a file.
Comments
CONVERTED DATA
BugTraq+ Release Management Values
COMMIT TO FIX:
tiger
tiger-beta
FIXED IN:
tiger-beta
INTEGRATED IN:
tiger-b26
tiger-beta
14-06-2004
EVALUATION
Will propose a close method be added to Scanner.
###@###.### 2003-09-22
The Scanner will close input sources that implement the Closeable interface.
###@###.### 2003-10-17