On Wed, 10 Jun 2026 06:01:22 GMT, Alan Bateman <[email protected]> wrote:

>> Making it package private to `java.security` would avoid IDEs suggesting to 
>> add `InternalBinaryEncodable` to `switch` statements in `java.base` (outside 
>> of `java.security`).
>
>> Making it package private to `java.security` would avoid IDEs suggesting to 
>> add `InternalBinaryEncodable` to `switch` statements in `java.base` (outside 
>> of `java.security`).
> 
> That sounds like an IDE issue in that IDEs shouldn't be suggesting to add 
> references to non-accessible classes.

Yeah, but when editing `java.base` (to contribute to **OpenJDK**), the class is 
accessible (to `java.base`).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31391#discussion_r3386900511

Reply via email to