8283417: Update java.nio buffers to use sealed classes

Reviewed-by: rriggs, darcy, iris, alanb
This commit is contained in:
Brian Burkhalter 2022-03-24 16:11:57 +00:00
parent 19f01ab701
commit b36cf35ad9
7 changed files with 45 additions and 8 deletions

View file

@ -29,7 +29,7 @@ import java.util.Objects;
// ## If the sequence is a string, use reflection to share its array
class StringCharBuffer // package-private
final class StringCharBuffer // package-private
extends CharBuffer
{
CharSequence str;