RFR: 8283417: Update java.nio buffers to use sealed classes

Brian Burkhalter bpb at openjdk.java.net
Tue Mar 22 17:09:53 UTC 2022


Seal subclassed buffer classes and make non-subclassed buffer classes final.

-------------

Commit messages:
 - 8283417: Update java.nio buffers to use sealed classes

Changes: https://git.openjdk.java.net/jdk/pull/7907/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7907&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283417
  Stats: 45 lines in 7 files changed: 37 ins; 0 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7907.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7907/head:pull/7907

PR: https://git.openjdk.java.net/jdk/pull/7907


More information about the nio-dev mailing list