On Tue, 27 May 2025 09:51:23 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> Looks reasonable. FWIW, the period matches the format for 
> `getDefaultHeadlessMessage()` in other platforms.

Yes, it does.

> I would probably even collapse first two lines into one, up to you:
> 
> ```
> No X11 DISPLAY variable was set, or no headful library support was found,
> but this program performed an operation which requires it.
> ```

@shipilev That's also a possibility… The message will still fit into 80 
columns, however, I think the message is easier to read when the two reasons 
are on their own lines, so I'll keep it this way unless someone else is also 
for joining the first two lines.

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

PR Comment: https://git.openjdk.org/jdk/pull/25453#issuecomment-2912093596

Reply via email to