[kaffe] Kaffe CVS: kaffe kaz

Kaffe CVS cvs-commits at kaffe.org
Wed Jul 2 15:42:02 PDT 2003


CVSROOT:	/cvs/kaffe
Module name:	kaffe
Changes by:	kaz	03/07/02 15:39:41

Modified files:
	.              : ChangeLog 
	libraries/javalib/java/io: StreamTokenizer.java 

Log message:
2003-07-02  Ito Kazumitsu <kaz at maczuka.gcd.org>

* libraries/javalib/java/io/StreamTokenizer.java:
nextTokenType(): changed the order of rules so that the result
is similar to Sun's implementation.
numericChar(), commentChar(), quoteChar(), whitespaceChars(),
wordChars(): changed these methods so that assigning one attribute
may drop other attributes. This makes the result similar to Sun's
implementation.
Added new private method isNumericByDefault() to be used in
parseNumericChars(). Numeric characters should be checked with
this method rather than with lookup(chr).isNumeric, which may
have been changed by some attribute-assining methods.

Reported by Hermanni Hyytiala <hemppah at cc.jyu.fi>.





More information about the kaffe mailing list