On Wed, 20 May 2026 22:16:20 GMT, Phil Race <[email protected]> wrote:

> if the System Property "user.name" is unset, then in some also unlikely 
> circumstance the printing implementation will get an NPE.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/java.desktop/share/classes/sun/print/PSStreamPrintJob.java line 439:

> 437:         String userName = System.getProperty("user.name");
> 438:         if (userName == null || userName.isEmpty()) {
> 439:             RequestingUserName ruName = (reqSet != null) ?

Copyright year should be updated for all the source files

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31225#discussion_r3277622910

Reply via email to