Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8143463 | emb-9 | Nils Eliasson | P4 | Resolved | Fixed | team |
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.
$ ./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.
- backported by
-
JDK-8143463 CompileCommand prints quoted ascii strings
-
- Resolved
-
- duplicates
-
JDK-8140352 compiler control test failed with RuntimeException: 'CompileCommand: compileonly pool/subp?ack/Klass.*met?hod*' missing from stdout/stderr
-
- Closed
-
- relates to
-
JDK-8046155 JEP 165: Compiler Control
-
- Closed
-