JaroslavTulach commented on a change in pull request #2685:
URL: https://github.com/apache/netbeans/pull/2685#discussion_r560042627
##########
File path: platform/openide.loaders/src/org/openide/text/DataEditorSupport.java
##########
@@ -1353,19 +1331,8 @@ public void run() throws IOException {
try {
des.superSaveDoc();
} catch (UserQuestionException ex) {
- if (GraphicsEnvironment.isHeadless()) {
Review comment:
This check has been added by Martin Entlicher half a year ago, before it
become possible to show `NotifyDescriptor` dialogs in VSCode. Now the dialog
could be shown (but we don't want it anyway). As such I am removing the
headless check and replacing it with a branding API that allows
`java/java.lsp.server/nbcode` suite to explicitly say 'no'.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists