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

add comments to javac/util/Convert.java

    Details

    • Subcomponent:
    • Resolved In Build:
      b93
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      From Peter Ahe:

      I just noticed something that may not be obvious.

      The JVMS defines its own version of the UTF-8 format so that it is
      contains no zero bytes (modified UTF-8). This is not actually the same
      as Charset.forName("UTF-8"). See also:
      http://java.sun.com/javase/6/docs/api/java/io/DataInput.html#modified-utf-8

      You might want to explicitly document this in javac/util/Convert.java.

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: