JDK-8139996 : CompileCommand prints quoted ascii strings
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-20
  • Updated: 2015-11-20
  • Resolved: 2015-10-26
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.
JDK 9
9 b92Fixed
Related Reports
Duplicate :  
Relates :  
Description
If I add a UTF-16 string, like the following, MethodMatcher prints it quoted:

$ ./bin/java -XX:CompileCommand=compileonly,����������::���������� -XX:+PrintCompilation -version
CompileCommand: compileonly \u041a\u043b\u0430\u0441\u0441.\u043c\u0435\u0442\u043e\u0434

I think we should print the same UTF string, because this is an output aimed for the end user, who will not see a class and method name in stdout in the case of quoted symbols.