[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug #901] String.trim off by one on lead whitespace
From: |
nobody |
Subject: |
[Bug #901] String.trim off by one on lead whitespace |
Date: |
Sat, 27 Jul 2002 05:42:32 -0400 |
=================== BUG #901: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=901&group_id=85
Changes by: Mark Wielaard <address@hidden>
Date: 2002-Jul-27 11:42 (Europe/Amsterdam)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Verified that the fix that John Leuner checked in solves the bug.
=================== BUG #901: FULL BUG SNAPSHOT ===================
Submitted by: cbenenati Project: classpath
Submitted on: 2002-Jul-24 21:15
Severity: 5 - Major Resolution: Fixed
Assigned to: None Status: Closed
Platform Version: Windows 2000
Summary: String.trim off by one on lead whitespace
Original Submission: 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() );
}
}
Follow-up Comments
*******************
-------------------------------------------------------
Date: 2002-Jul-27 11:42 By: mark
Verified that the fix that John Leuner checked in solves the bug.
-------------------------------------------------------
Date: 2002-Jul-26 02:11 By: cbenenati
Tip of CVS tree seems to fix this problem
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=901&group_id=85