-- Joakim Erdfelt <joakim_at_intalio.com> webtide.com <http://www.webtide.com/> Developer advice, services and support from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, Mar 5, 2013 at 7:23 AM, Mark Thomas <mark_at_homeinbox.net> wrote: > All, > > Slightly off-topic but in implementing WebSocket and running Autobahn > against my implementation I have hit a number of issues with the UTF-8 > decoder provided by the JRE. Has anyone else hit these issues? > > I have a test case that highlights the issues[1] that can be summarised > as a) not detecting errors early enough and b) swallowing too many bytes > when an error is detected (possibly as a consequence of a) > > I'm planning on raising a bug with Oracle but wanted to see how > wide-spread the problem was before I did so. > > Mark > > [1] > > http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/buf/TestUtf8.java?view=markup >