RFR: 8220585: Incorrect code in MulticastSocket sample code

Chris Hegarty chris.hegarty at oracle.com
Wed Mar 13 17:17:15 UTC 2019


Arthur,

On 13/03/2019 16:32, Arthur Eubanks wrote:
> 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

Looks good. Thanks.

-Chris.


More information about the net-dev mailing list