GCJ manual changed
Tom Tromey
tromey@redhat.com
Wed Jan 30 13:16:00 GMT 2002
>>>>> "Joseph" == Joseph S Myers <jsm28@cam.ac.uk> writes:
Joseph> In that case, the manual should state that references to UTF-8
Joseph> are to the Java dialect meaning rather than the standard
Joseph> Unicode meaning.
Or we could introduce our own term. Overloading the meaning of
"UTF-8" was an unfortunate decision of the JVMS authors.
Joseph> Does Java define that, except for the special encoding of the
Joseph> null byte, over-long sequences must be treated as invalid, to
Joseph> avoid the usual security holes associated with them?
I don't recall seeing text to that effect in anything I've read. And
I'd be willing to bet that at least some versions of the JDK from Sun
don't reject such sequences. For that matter, we don't reject such
sequences. It's unclear whether we should change our implementation
here; this is yet another under-specified aspect of Java.
Tom
More information about the Java-patches
mailing list