bug in java.io.StreamTokenizer.nextToken
brian at burton-computer.com
Wed Jul 15 12:28:02 PDT 1998
Brian Burton wrote:
> StreamTokenizer in kaffe 1.0.b1 is broken. Specifically, the JDK 1.1.5
> javadoc says that when a quoted string is encountered, nextToken() will
> return (and set ttype to) the string delimiter. But StreamTokenizer
> sets ttype to TT_WORD. The fix is trivial.
In fact, here is the fix.
diff -r1.1 StreamTokenizer.java
> ttype = chr;
< ttype = TT_WORD;
Brian Burton Custom Software Development
Burton Computer Corporation Java, C++, Orbix, Tuxedo
http://www.burton-computer.com OO Consulting and Mentoring
More information about the kaffe