RFR: 8220585: Incorrect code in MulticastSocket sample code

Arthur Eubanks aeubanks at google.com
Wed Mar 13 16:32:10 UTC 2019


Hi,

A fix for some sample code in MulticastSocket, which assumed that
String.length() == String.getBytes().length, which is not true for
non-ASCII Strings.

http://cr.openjdk.java.net/~aeubanks/8220585/webrev.00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190313/6d63cf34/attachment.html>


More information about the net-dev mailing list