[Bug libgcj/30600] gnu.gcj.convert.BytesToCharsetAdaptor calculates bad argument for java.nio.Buffer.limit(int)
kaloian at doganov dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 26 17:18:00 GMT 2007
------- Comment #2 from kaloian at doganov dot org 2007-01-26 17:18 -------
(From update of attachment 12964)
The example works fine if you try to create the demo String using the whole
byte array. But if you wish to skip the fist byte this leads to
IllegalArgumentException because of the bad calculations in
BytesToCharsetAdaptor.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30600
More information about the Java-prs
mailing list