File tree Expand file tree Collapse file tree 13 files changed +55
-15
lines changed
src/com/sun/tools/visualvm/application/jvm
jvmstat/src/com/sun/tools/visualvm/jvmstat
src/com/sun/tools/visualvm/jvm
src/com/sun/tools/visualvm/profiler
startup/src/com/sun/tools/visualvm/modules/startup Expand file tree Collapse file tree 13 files changed +55
-15
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ OpenIDE-Module: com.sun.tools.visualvm.application/0
55OpenIDE-Module-Layer: com/sun/tools/visualvm/application/resources/layer.xml
66OpenIDE-Module-Install: com/sun/tools/visualvm/application/Installer.class
77OpenIDE-Module-Localizing-Bundle: com/sun/tools/visualvm/application/resources/Bundle.properties
8- OpenIDE-Module-Specification-Version: 1.9
8+ OpenIDE-Module-Specification-Version: 1.10
99
Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ public boolean is19() {
6464 return false ;
6565 }
6666
67+ public boolean is100 () {
68+ return false ;
69+ }
70+
6771 public boolean isAttachable () {
6872 return false ;
6973 }
Original file line number Diff line number Diff line change @@ -96,6 +96,17 @@ public boolean is19() {
9696 return false ;
9797 }
9898
99+ /**
100+ * Tests if target JVM is JRE 10.
101+ * @return <CODE>true</CODE> if JVM is JRE 10, <CODE>false</CODE> otherwise
102+ *
103+ * @since VisualVM 1.4.1
104+ */
105+ public boolean is100 () {
106+ // default implementation for backward compatibility
107+ return false ;
108+ }
109+
99110 /**
100111 * Tests if VisualVM can attach to target JVM via
101112 * <a href=http://download.oracle.com/javase/6/docs/technotes/guides/attach/index.html>Attach API</a>.
Original file line number Diff line number Diff line change 1- build.xml.data.CRC32 =ff5c27c4
1+ build.xml.data.CRC32 =84e0b446
22build.xml.script.CRC32 =25884fdd
33build.xml.stylesheet.CRC32 =a56c6a5b@2.73
44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6- nbproject/build-impl.xml.data.CRC32 =ff5c27c4
6+ nbproject/build-impl.xml.data.CRC32 =84e0b446
77nbproject/build-impl.xml.script.CRC32 =63c7509b
88nbproject/build-impl.xml.stylesheet.CRC32 =238281d1@2.73
Original file line number Diff line number Diff line change 1212 <compile-dependency />
1313 <run-dependency >
1414 <release-version >0</release-version >
15- <specification-version >1.9 </specification-version >
15+ <specification-version >1.10 </specification-version >
1616 </run-dependency >
1717 </dependency >
1818 <dependency >
Original file line number Diff line number Diff line change @@ -221,6 +221,14 @@ public boolean is19() {
221221 return false ;
222222 }
223223
224+ public boolean is100 () {
225+ String ver = getJavaVersion ();
226+ if (ver != null && (ver .startsWith ("10" ))) { // NOI18N
227+ return true ;
228+ }
229+ return false ;
230+ }
231+
224232 public boolean isDumpOnOOMEnabled () {
225233 if (isDumpOnOOMEnabled == null ) {
226234 AttachModel attach = getAttach ();
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ public JvmJvmstatModel createModelFor(Application app) {
8080 else if (javaVersion .startsWith ("1.9." )) model = new JvmJvmstatModel_8 (app ,jvmstat ); // NOI18N
8181 // JVM 9
8282 else if (javaVersion .startsWith ("9" )) model = new JvmJvmstatModel_8 (app ,jvmstat ); // NOI18N
83+ // JVM 10
84+ else if (javaVersion .startsWith ("10" )) model = new JvmJvmstatModel_8 (app ,jvmstat ); // NOI18N
8385 }
8486 if (model == null ) { // still not recognized, fallback to JvmJvmstatModel_5
8587 LOGGER .log (Level .WARNING , "Unrecognized java.vm.version " + vmVersion ); // NOI18N
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ case "`uname`" in
211211 ' "-J-Xdock:icon=$basedir/etc/visualvm.icns"' \
212212 --branding visualvm \
213213 --clusters ' "$visualvm_clusters"' \
214+ --laf com.apple.laf.AquaLookAndFeel \
214215 ${visualvm_default_options} \
215216 ' "$@"'
216217 ;;
Original file line number Diff line number Diff line change 1- build.xml.data.CRC32 =fee5938e
1+ build.xml.data.CRC32 =476375e9
22build.xml.script.CRC32 =03a7511e
33build.xml.stylesheet.CRC32 =a56c6a5b@2.73
44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6- nbproject/build-impl.xml.data.CRC32 =fee5938e
6+ nbproject/build-impl.xml.data.CRC32 =476375e9
77nbproject/build-impl.xml.script.CRC32 =6c1a4403
88nbproject/build-impl.xml.stylesheet.CRC32 =238281d1@2.73
Original file line number Diff line number Diff line change 1212 <compile-dependency />
1313 <run-dependency >
1414 <release-version >0</release-version >
15- <specification-version >1.9 </specification-version >
15+ <specification-version >1.10 </specification-version >
1616 </run-dependency >
1717 </dependency >
1818 <dependency >
You can’t perform that action at this time.
0 commit comments