You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ma...@apache.org on 2021/03/29 20:46:33 UTC

[netbeans] branch master updated: Application name is not set correctly on Linux with JDK 16+

This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new bfa2e90  Application name is not set correctly on Linux with JDK 16+
     new 2027998  Merge pull request #2840 from matthiasblaesing/x11_application_name
bfa2e90 is described below

commit bfa2e90a06ae635c38241740e92b266d867bc335
Author: Jan Lahoda <jl...@netbeans.org>
AuthorDate: Mon Mar 29 20:23:56 2021 +0200

    Application name is not set correctly on Linux with JDK 16+
    
    JDK 16 by default denies reflective access to private members.
    This prevents netbeans from setting the application name on X11 as
    this requires breaking into XToolkit.
    
    The issue is tracked as:
    https://bugs.openjdk.java.net/browse/JDK-6528430
---
 nb/ide.launcher/netbeans.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nb/ide.launcher/netbeans.conf b/nb/ide.launcher/netbeans.conf
index 413b064..9c963ba 100644
--- a/nb/ide.launcher/netbeans.conf
+++ b/nb/ide.launcher/netbeans.conf
@@ -63,7 +63,7 @@ netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/@@metabuild.RawVersion@@"
 # (see: https://issues.apache.org/jira/browse/NETBEANS-1344)
 #
 
-netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m @@metabuild.logcli@@ -J-Djdk.gtk.version=2.2 -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false -J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.bas [...]
+netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m @@metabuild.logcli@@ -J-Djdk.gtk.version=2.2 -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false -J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.bas [...]
 
 # Default location of JDK:
 # (set by installer or commented out if launcher should decide)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists