RFR: 8366261: Provide utility methods for sun.security.util.Password [v2]

Naoto Sato naoto at openjdk.org
Wed Aug 27 23:48:28 UTC 2025


On Wed, 27 Aug 2025 23:28:15 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   @Native annotated
>
> src/java.base/share/classes/java/io/Console.java line 555:
> 
>> 553:     static final int TTY_STDIN_MASK = 0x00000001;
>> 554:     static final int TTY_STDOUT_MASK = 0x00000002;
>> 555:     static final int TTY_STDERR_MASK = 0x00000004;
> 
> I recommend marking these fields as `@Native`.

Good point. Fixed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26973#discussion_r2305578545


More information about the security-dev mailing list