On Fri, 24 Apr 2026 16:44:05 GMT, Anthony Scarpino <[email protected]> 
wrote:

>> I need a review for a change to check for whitespaces and tabs that may 
>> follow a PEM header or footer.  The current code only checks for a 
>> whitespace, but ends without a EOL character, resulting in a failure.
>> 
>> Tony
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Anthony Scarpino has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   add bugid

test/jdk/java/security/PEM/PEMDecoderTest.java line 62:

> 60: 
> 61:         
> PEMData.entryList.add(PEMData.insertPostHeaderChar(PEMData.ed25519priv, 
> '\s'));
> 62:         
> PEMData.entryList.add(PEMData.insertPostHeaderChar(PEMData.ed25519priv, 
> '\t'));

These 2 special cases are only added to `entryList` and not `passList`. Is this 
intended?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30909#discussion_r3140803797

Reply via email to