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

mbien 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 c78c6b1c9f Remove obsolete sun.zip.disableMemoryMapping JVM flag.
     new 30cc803e1a Merge pull request #6315 from mbien/remove-obsolete-zip-flag
c78c6b1c9f is described below

commit c78c6b1c9f4431dd9cce80f3f5437e231943b179
Author: Michael Bien <mbie...@gmail.com>
AuthorDate: Mon Aug 7 21:04:45 2023 +0200

    Remove obsolete sun.zip.disableMemoryMapping JVM flag.
    
    Java's zip implementation doesn't use mmap anymore (JDK-8175192,
    JDK-8142508).
    
    Removed GTK LAF comment since it is no longer the default on linux.
---
 java/performance/hudson/netbeans.conf | 2 +-
 nb/ide.launcher/netbeans.conf         | 9 +--------
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/java/performance/hudson/netbeans.conf 
b/java/performance/hudson/netbeans.conf
index 9fc16454dd..0123c66ffc 100644
--- a/java/performance/hudson/netbeans.conf
+++ b/java/performance/hudson/netbeans.conf
@@ -43,7 +43,7 @@ netbeans_default_cachedir="${HOME}/.cache/perfdev"
 
 # Options used by NetBeans launcher by default, can be overridden by explicit
 # command line switches:
-netbeans_default_options="-J-client -J-Xss2m -J-Xms32m 
-J-Dnetbeans.logger.console=false -J-Dapple.laf.useScreenMenuBar=true 
-J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true 
-J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false 
-J-Dnetbeans.keyring.no.master=true -J-DSuspendSupport.disabled=true 
-J-DBrokenReferencesSupport.suppressBrokenRefAlert=true 
-J-Dnetbeans.full.hack=true -J-Dorg.netbeans.log.startup=print 
-J-Dorg.netbeans.editor.linewrap=true"
+netbeans_default_options="-J-client -J-Xss2m -J-Xms32m 
-J-Dnetbeans.logger.console=false -J-Dapple.laf.useScreenMenuBar=true 
-J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true 
-J-Dplugin.manager.check.updates=false -J-Dnetbeans.keyring.no.master=true 
-J-DSuspendSupport.disabled=true 
-J-DBrokenReferencesSupport.suppressBrokenRefAlert=true 
-J-Dnetbeans.full.hack=true -J-Dorg.netbeans.log.startup=print 
-J-Dorg.netbeans.editor.linewrap=true"
 # Note that default -Xmx is selected for you automatically.
 # You can find these values in var/log/messages.log file in your userdir.
 # The automatically selected value can be overridden by specifying -J-Xmx
diff --git a/nb/ide.launcher/netbeans.conf b/nb/ide.launcher/netbeans.conf
index 9dc2abbfa6..b99a47bf26 100644
--- a/nb/ide.launcher/netbeans.conf
+++ b/nb/ide.launcher/netbeans.conf
@@ -56,14 +56,7 @@ 
netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/@@metabuild.RawVersion@@"
 # The automatically selected value can be overridden by specifying -J-Xmx
 # here or on the command line.
 #
-# JDK 11 made GTK 3 default on Linux. Unfortunately it makes
-# NetBeans ugly on Linux with the default GTK+ Look and Feel,
-# as a workaround -J-Djdk.gtk.version=2.2 has been added to the 
-# default command line arguments.
-# (see: https://issues.apache.org/jira/browse/NETBEANS-1344)
-#
-
-netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m 
@@metabuild.logcli@@ -J-Dapple.laf.useScreenMenuBar=true 
-J-Dapple.awt.application.appearance=system 
-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 
@@metabuild.jms-flags@@ -J-XX:+IgnoreUnrecognizedVMOptions"
+netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m 
@@metabuild.logcli@@ -J-Dapple.laf.useScreenMenuBar=true 
-J-Dapple.awt.application.appearance=system 
-J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true 
-J-Dsun.java2d.dpiaware=true -J-Dplugin.manager.check.updates=false 
-J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes 
@@metabuild.jms-flags@@ -J-XX:+IgnoreUnrecognizedVMOptions"
 
 # Default location of JDK:
 # (set by installer or commented out if launcher should decide)


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

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

Reply via email to