I need a review to add a non-public subtype to `BinaryEncodable`, causing `switch` statements over `BinaryEncodable` to require either a `default` label or a `case BinaryEncodable` label.
thanks --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - test and code update - rephase - add test - update to be javadoc - copyright - refresh Changes: https://git.openjdk.org/jdk/pull/31391/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31391&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8383608 Stats: 217 lines in 5 files changed: 199 ins; 5 del; 13 mod Patch: https://git.openjdk.org/jdk/pull/31391.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31391/head:pull/31391 PR: https://git.openjdk.org/jdk/pull/31391
