Mercurial > hg > openjdk > jdk6 > jdk
changeset 1507:9f0c0a077605
6980510: Fix for 6959252 broke JConsole mnemonic keys
Reviewed-by: mfang, yhuang
author | yhuang |
---|---|
date | Thu, 09 Sep 2010 23:01:43 -0700 |
parents | 3a6be846a16c |
children | 5246ba6cc300 |
files | src/share/classes/sun/tools/jconsole/resources/JConsoleResources.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/sun/tools/jconsole/resources/JConsoleResources.java Wed Aug 11 02:22:32 2010 -0700 +++ b/src/share/classes/sun/tools/jconsole/resources/JConsoleResources.java Thu Sep 09 23:01:43 2010 -0700 @@ -452,7 +452,9 @@ String ls = System.getProperty("line.separator"); for(int i=0;i<temp.length;i++) { + if (temp[i][1] instanceof String){ temp[i][1] = temp[i][1].toString().replaceAll("\n",ls); + } } return temp;