This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgcj/8443: StringTokenizer does not return delimeters


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]