On Wed, 25 Mar 2026 04:09:59 GMT, Trupti Patil <[email protected]> wrote:

>> Fixed PrintNullString.java to accept empty iterator as a valid input.
>> With recent TextLayout changes, empty iterators are treated as a no-op 
>> (similar to empty strings) and no longer throw IllegalArgumentException, 
>> causing the previous expectation to fail on newer JDKs.
>> 
>> Tested the fix on windows, macOS and linux; it works as expected across all 
>> platforms.
>
> Trupti Patil has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Updated the bugid

I ran this test on Windows and got an unhelpful `PrinterException` with no 
details at all.

#29733 converted `RuntimeException` thrown in `print` method to 
`PrinterException`, but the cause is now initialised incorrectly. I've 
submitted [JDK-8381208](https://bugs.openjdk.org/browse/JDK-8381208).

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

PR Comment: https://git.openjdk.org/jdk/pull/30389#issuecomment-4145275835

Reply via email to