# HG changeset patch # User nloodin # Date 1369317037 -7200 # Node ID 3cb70d5832aa40e419a03ed4948ef56843d026cd # Parent ce8517f5a2fe55a6eab8198d2e99a7b078bada37 8014048: Online user guide of jconsole points incorrect link Reviewed-by: mchung, sla, jbachorik diff -r ce8517f5a2fe -r 3cb70d5832aa jdk/src/share/classes/sun/tools/jconsole/AboutDialog.java --- a/jdk/src/share/classes/sun/tools/jconsole/AboutDialog.java Wed May 22 20:03:45 2013 -0700 +++ b/jdk/src/share/classes/sun/tools/jconsole/AboutDialog.java Thu May 23 15:50:37 2013 +0200 @@ -34,6 +34,7 @@ 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.*; @@ -73,7 +74,7 @@ String jConsoleVersion = Version.getVersion(); String vmName = System.getProperty("java.vm.name"); String vmVersion = System.getProperty("java.vm.version"); - String urlStr = Messages.HELP_ABOUT_DIALOG_USER_GUIDE_LINK_URL; + String urlStr = getOnlineDocUrl(); if (isBrowseSupported()) { urlStr = "" + urlStr + ""; } @@ -86,8 +87,7 @@ "" + Resources.format(Messages.HELP_ABOUT_DIALOG_JCONSOLE_VERSION, jConsoleVersion) + "" + Resources.format(Messages.HELP_ABOUT_DIALOG_JAVA_VERSION, (vmName +", "+ vmVersion)) + - "" + Resources.format(Messages.HELP_ABOUT_DIALOG_USER_GUIDE_LINK, urlStr) + - ""); + "" + urlStr + "
" + Resources.format(Messages.HELP_ABOUT_DIALOG_JAVA_VERSION, (vmName +", "+ vmVersion)) + - "
" + Resources.format(Messages.HELP_ABOUT_DIALOG_USER_GUIDE_LINK, urlStr) + - ""); + "
" + urlStr + "