commit-classpath
[Top][All Lists]
Advanced

[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: Wed, 24 Jul 2002 15:15:23 -0400

=================== BUG #901: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=901&group_id=85

Submitted by: cbenenati                 Project: classpath                      
Submitted on: 2002-Jul-24 19:15
Severity:  5 - Major                    Resolution:  None                       
Assigned to:  None                      Status:  Open                           
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() );
    }
}



No Followups Have Been Posted




No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=901&group_id=85



reply via email to

[Prev in Thread] Current Thread [Next in Thread]