|
Quick Lists
|
|
Bug ID:
|
4317026
|
|
Votes
|
0
|
|
Synopsis
|
PrintWriter documentation error: write() methods don't throw IOException
|
|
Category
|
guides:none
|
|
Reported Against
|
3.1.1
, kestrel-rc1
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4317583,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4317583
,
4317208
|
|
Submit Date
|
28-FEB-2000
|
|
Description
|
> java -version
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, interpreted mode)
The PrintWriter class doc in the JDK doc download states that the three
overloaded write() methods:
write(int c)
write(char[] buf,int start,int end)
write(String str,int start,int end)
all throw IOException - but of course they don't.
(Review ID: 101790)
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
Asked naveends for evaluation.
xxxxx@xxxxx 2000-02-28
There is currently a bug in the javadoc tool itself (4317583) that causes improper copying of @throws tag from super to sub class spec, and that's what's happening here. Since the cause of the bug is javadoc, and not the source file, I'm closing this as a duplicate of 4317583. When javadoc gets its bug fix, this documentation problem will vanish.
xxxxx@xxxxx 2000-10-30
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |