Skip to content

Commit e4c6e7c

Browse files
committed
8357675: Amend headless message
Backport-of: 12ee80cac754c1a6dd37191a9f80c01de8b659ad
1 parent 99dfee6 commit e4c6e7c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/java.desktop/unix/classes/sun/awt/PlatformGraphicsInfo.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -93,7 +93,6 @@ public static String getDefaultHeadlessMessage() {
9393
9494
No X11 DISPLAY variable was set,
9595
or no headful library support was found,
96-
but this program performed an operation which requires it,
97-
""";
96+
but this program performed an operation which requires it.""";
9897
}
9998
}

0 commit comments

Comments
 (0)