JDK-6522091 : VMPanel.java contains non-ASCII character
  • Type: Bug
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2007-02-06
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u10Fixed 7 b25Fixed
j2se/src/share/classes/sun/tools/jconsole/VMPanel.java line 568 has a non-ASCII character (right single quote):

            // Set the first enabled tab in the tab's list

This can cause problems if someone is trying to compile JDK sources and is using -encoding US-ASCII or UTF-8. (The character appears to be encoded in ISO-8859-1.) As far as I can tell this is the only non-ASCII character in j2se/src/share/classes/**/*.java.

$ svn -v stat j2se/src/share/classes/sun/tools/jconsole/VMPanel.java
               64       56 bnoble       j2se/src/share/classes/sun/tools/jconsole/VMPanel.java

EVALUATION Replace with regular single quote character.