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

Handle control characters in java_lang_String::print

    XMLWordPrintable

Details

    • b20

    Backports

      Description

        java_lang_String::print(...) lets the VM display String objects. This can be called for debugging (debug.cpp) and by the fatal error report (hs_err).

        Showing raw Strings means embedded control characters can interfere with the format (or, can be invisible). We should format control characters specifically, e.g. show their hex value, rather than include actual newlines, tabs and other control characters in the output.

        Attachments

          Issue Links

            Activity

              People

                kevinw Kevin Walls
                kevinw Kevin Walls
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: