FULL PRODUCT VERSION :
mustang b81
ADDITIONAL OS VERSION INFORMATION :
Windows XP Sp1+
Simplified Chinese
A DESCRIPTION OF THE PROBLEM :
C:\Program Files\Java\jdk1.6.0\bin>jconsole
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.tools.jconsole.JConsole.<clinit>(JConsole.java:92)
Caused by: java.lang.ClassCastException: sun.tools.jconsole.resources.JConsoleRe
sources_zh_CN cannot be cast to sun.tools.jconsole.resources.JConsoleResources
at sun.tools.jconsole.Resources.<clinit>(Resources.java:27)
... 1 more
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
C:\Program Files\Java\jdk1.6.0\bin>jconsole
ACTUAL -
java.lang.ClassCastException
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Folder :C:\JDK6.0SRC\j2se\src\share\classes\sun\tools\jconsole\resources
JConsoleResources_zh_CN.java
Change
public class JConsoleResources_zh_CN extends ListResourceBundle{
To
public class JConsoleResources_zh_CN extends JConsoleResources {
Change
public class JConsoleResources_ja extends ListResourceBundle{
To
public class JConsoleResources_ja extends JConsoleResources {
After all,thank u localized it for chinese.
mustang b81
ADDITIONAL OS VERSION INFORMATION :
Windows XP Sp1+
Simplified Chinese
A DESCRIPTION OF THE PROBLEM :
C:\Program Files\Java\jdk1.6.0\bin>jconsole
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.tools.jconsole.JConsole.<clinit>(JConsole.java:92)
Caused by: java.lang.ClassCastException: sun.tools.jconsole.resources.JConsoleRe
sources_zh_CN cannot be cast to sun.tools.jconsole.resources.JConsoleResources
at sun.tools.jconsole.Resources.<clinit>(Resources.java:27)
... 1 more
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
C:\Program Files\Java\jdk1.6.0\bin>jconsole
ACTUAL -
java.lang.ClassCastException
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Folder :C:\JDK6.0SRC\j2se\src\share\classes\sun\tools\jconsole\resources
JConsoleResources_zh_CN.java
Change
public class JConsoleResources_zh_CN extends ListResourceBundle{
To
public class JConsoleResources_zh_CN extends JConsoleResources {
Change
public class JConsoleResources_ja extends ListResourceBundle{
To
public class JConsoleResources_ja extends JConsoleResources {
After all,thank u localized it for chinese.
- relates to
-
JDK-6353987 Provide mnemonics on Create Connection dialog & menus
- Closed