|
From: | gcc-bugzilla at gcc dot gnu dot org |
Subject: | [Bug classpath/22646] String.trim off by one on lead whitespace |
Date: | 16 Oct 2005 01:26:13 -0000 |
Running with classpath 0.04 under ORP. The following prints "lassname" instead of "classname" class x { static public void main( String[] args ) { String s = " classname"; System.out.println( s.trim() ); } } ------- Comment #1 from from-classpath at savannah dot gnu dot org 2002-07-26 00:11 ------- Tip of CVS tree seems to fix this problem ------- Comment #2 from from-classpath at savannah dot gnu dot org 2002-07-27 09:42 ------- Verified that the fix that John Leuner checked in solves the bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22646
[Prev in Thread] | Current Thread | [Next in Thread] |