java/2449: PrintStream defines 'out' as BufferedOutputStream

Tom Tromey tromey@redhat.com
Sun Apr 1 17:16:00 GMT 2001


The following reply was made to PR java/2449; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: joerg_brunsmann@yahoo.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/2449: PrintStream defines 'out' as BufferedOutputStream
Date: 01 Apr 2001 18:21:12 -0600

 >>>>> "Joerg" == joerg brunsmann <joerg_brunsmann@yahoo.de> writes:
 
 Joerg> public void setOutputStream(OutputStream s) {
 Joerg>         out = s;
 Joerg> }
  
 I don't see how this can work given that the `out' field is
 package-private.
 
 Oops, that's probably the bug -- this class doesn't need its own `out'
 field.  I'll test this.
 
 Tom



More information about the Gcc-prs mailing list