public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "mnefedov at rogers dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/21270] New: BufferedReader.read( char[], int, int ) returns less than expected number of read chars Date: Thu, 28 Apr 2005 19:36:00 -0000 [thread overview] Message-ID: <20050428193605.21270.mnefedov@rogers.com> (raw) When 8K of data is requested gcj returns only 2K (Sun's VM returns full 8K). example code: import java.io.*; public class BufferedReaderReadTest { public static void main( String [] args ) throws Exception { char [] b = new char[ 8 * 1024 ]; BufferedReader in = new BufferedReader( new FileReader( args [0] ), 8 * 1024 ); System.out.println( "read() = " + in.read( b, 0, b.length ) ); in.close(); } } -- Summary: BufferedReader.read( char[], int, int ) returns less than expected number of read chars Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mnefedov at rogers dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21270
next reply other threads:[~2005-04-28 19:36 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-04-28 19:36 mnefedov at rogers dot com [this message] 2005-04-28 19:45 ` [Bug libgcj/21270] " pinskia at gcc dot gnu dot org 2005-04-28 21:52 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050428193605.21270.mnefedov@rogers.com \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).