On Thu, 5 Mar 2026 04:29:49 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> yes. What is the harm in avoiding an NPE ?
>
> Not checking it actually allowed us to find this bug but I guess it's 
> ok..Added it back..I see we check for null in PrintJobDelegate at l474 too so 
> it's not without precedent

What's the point of the null-check if the condition `range != null` is always 
`true`?

I left [a more detailed 
comment](https://github.com/openjdk/jdk/pull/29874/changes#r2889362143) to the 
NPE discussion.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29874#discussion_r2889378252

Reply via email to