mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-07 08:59:07 +00:00
6980510: Fix for 6959252 broke JConsole mnemonic keys
Reviewed-by: mfang, yhuang
This commit is contained in:
parent
ae1cce3a74
commit
6c5a8b341b
@ -447,7 +447,9 @@ public class JConsoleResources extends ListResourceBundle {
|
||||
|
||||
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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user