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

Launcher misinterprets manifest Main-Class attribute

XMLWordPrintable

    • b49
    • generic
    • generic



      Name: nl37777 Date: 04/12/2004

      The jar file manifest specification
      http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#JAR%20Manifest
      specifies UTF-8 as the encoding of the values of manifest attributes.
      However, the launcher src/share/bin/java.c interprets the string read
      from the Main-Class attribute of a jarfile manifest in the platform
      encoding. This means that applications with non-ASCII characters in the
      main class name generally cannot be launched.
      ======================================================================

            jkowalsksunw Joseph Kowalski (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: