libgcj/8443: StringTokenizer does not return delimeters
brian_252@yahoo.com
brian_252@yahoo.com
Sun Nov 3 20:36:00 GMT 2002
>Number: 8443
>Category: libgcj
>Synopsis: StringTokenizer does not return delimeters
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 03 20:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Brian
>Release: libgcj3 1:3.2.1-0pre3
>Organization:
>Environment:
Debian Sarge on i386
>Description:
Although i specify in the StringTokenizer constructor that i want the delimiters returned as token, the nextToken() function does not do so. It does return the correct number of tokens. But for the tokens which are also delimiters, instead of returning the single character string -- one of the delimiters -- it returns an empty string.
>How-To-Repeat:
Compile the code with gcj-3.2, run it with gij-3.2. Compare the output with the output from using J2SDK1.4.
>Fix:
Let me know if you want me to work on a fix.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Java-prs
mailing list