Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139996

CompileCommand prints quoted ascii strings

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b92

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  neliasso Nils Eliasson
                  Reporter:
                  ppunegov Pavel Punegov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: