libgcj/277: PrintWriter methods badly implemented

osk@hem.passagen.se osk@hem.passagen.se
Sat Jul 1 12:40:00 GMT 2000


>Number:         277
>Category:       libgcj
>Synopsis:       PrintWriter methods badly implemented
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 01 12:40:04 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Oskar Liljeblad
>Release:        unknown-1.0
>Organization:
>Environment:
Debian GNU/Linux
GNU libc 2.1.3
gcc 2.96 snapshot 20000612
libgcj snapshot 2000-06-18
>Description:
Many of the methods in the PrintWriter class are badly implemented.
According to the Sun javadocs, PrintWriter.print(Object obj) should
use String.valueOf(Object) then write(int). Currently,
PrintWriter.print(Object obj) calls PrintWriter.print(String str).
The same applies to all other PrintWriter.print methods.

Oskar Liljeblad (osk@hem.passagen.se)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Java-prs mailing list