On Thu, 28 May 2026 21:40:48 GMT, Anthony Scarpino <[email protected]>
wrote:
>> src/java.base/share/classes/java/security/PEMDecoder.java line 335:
>>
>>> 333: * @throws EOFException if no PEM data is found or the stream ends
>>> unexpectedly
>>> 334: * @throws IllegalArgumentException if decoding fails
>>> 335: * @throws NullPointerException when {@code InputStream} is {@code
>>> null}
>>
>> Other methods use `if ... is null`.
>
> This was in response to your comment about not liking "if `is` is null", so I
> reworded it
I meant the `when`. Other use `if`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29640#discussion_r3321109013