commit | 8c5313aa792f1850ad038a05edab5cc10b3fe772 | [log] [tgz] |
---|---|---|
author | Arthur Eubanks <aeubanks@google.com> | Wed Mar 13 09:12:38 2019 -0700 |
committer | Arthur Eubanks <aeubanks@openjdk.org> | Wed Mar 13 09:12:38 2019 -0700 |
tree | 1b6ed0e453a81554091ab5f0a7133201a974afc5 | |
parent | 1bfa5cee8ce22cba61f6a296b2e4ecc0e7b7a126 [diff] |
8220585: Incorrect code in MulticastSocket sample code Sample code shows that String.length() can be passed to a DatagramPacket along with String.getBytes(), but is incorrect for non-ASCII Strings. Reviewed-by: martin, chegar