bug in java.io.StreamTokenizer.nextToken

Brian Burton brian at burton-computer.com
Wed Jul 15 12:24:12 PDT 1998


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.

Thanks!
++Brian
 
-- 
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 mailing list