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

add comments to javac/util/Convert.java

    XMLWordPrintable

Details

    • b93
    • generic
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: