PR141
Tom Tromey
tromey@cygnus.com
Wed Aug 23 12:53:00 GMT 2000
Andrew> This testuite failure has been bugging me for a long time.
Andrew> Anyway, here's a fix that is compatible with JDK: a
Andrew> StreamTokenizer shouldn't throw an exception.
This is an interesting one. My reading is that `.' shouldn't be
treated as a number and that this is actually a bug in the JDK.
Comments on this?
I just tried the stream tokenizer test with `-.'. The JDK gives me
`-0.0'. Even with this patch we'll still get `0.0', which is "wrong"
by either definition.
This patch is clearly better than what we have now, though.
Tom
More information about the Java
mailing list