# HG changeset patch # User chegar # Date 1455868505 0 # Node ID 77231de79e04e777d960c0dde07d22f67b95eed6 # Parent 8fe81891e76c8c4168ab8e9e13071b20a3cfcb77 8150168: jconsole AboutDialog should use the JDK specific Version API Reviewed-by: alanb, iris diff -r 8fe81891e76c -r 77231de79e04 jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/AboutDialog.java --- a/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/AboutDialog.java Thu Feb 18 13:41:11 2016 -0800 +++ b/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/AboutDialog.java Fri Feb 19 07:55:05 2016 +0000 @@ -34,8 +34,6 @@ import javax.swing.border.*; import javax.swing.event.*; -import static sun.misc.Version.jdkMinorVersion; - import static java.awt.BorderLayout.*; import static sun.tools.jconsole.Utilities.*; @@ -183,7 +181,7 @@ } private static String getOnlineDocUrl() { - String version = Integer.toString(jdkMinorVersion()); + String version = Integer.toString(jdk.Version.current().major()); return Resources.format(Messages.HELP_ABOUT_DIALOG_USER_GUIDE_LINK_URL, version); }