On Mon, Mar 31, 2003 at 12:09:44AM -0500, Zlatin Balevsky wrote: > well, I discovered two huge bugs in the java.nio package. The first one > I mailed to Matthew and it is that the read() reads bytes as signed > octets even though in the javadocs it explicitly says the values > InputStream.read() returns ranges 0-255. So for example 0xfb is -5, not > 251. This will require severe workarounds in the > authentication/handshaking code, but is doable.
Is this the case on all JVMs? Perhaps you could put together a quick class/applet to test on different VMs? We should submit bug reports for each of these issues. Ian. -- Ian Clarke ian at locut.us Coordinator, The Freenet Project http://freenetproject.org/ Founder, Locutus http://locut.us/ Personal Homepage http://locut.us/ian/ _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
