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

character set not specified when reading resources from jar file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.0fcs
    • Fix Version/s: 1.0.1fcs
    • Component/s: other-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.0.1fcs
    • CPU:
      generic
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Description

      When JAF reads its resources from its jar file (or other jar files),
      it doesn't specify a character set to use when constructing the
      InputStreamReader. This cuases it to use the character set specified
      by the property file.encoding, which is appropriate for files stored
      in the local system's filesystem, but not for resources in jar files
      that are supposed to be system independent. This is usually not a problem
      because the resources contain only ASCII, which is a subset of almost all
      character sets. Except for EBCDIC. Thus JAF doesn't read the characters
      in the resource files properly on a system with file.encoding set to
      EBCDIC (Cp1047), e.g., OS 390.

        Attachments

          Activity

            People

            Assignee:
            bshannon Bill Shannon (Inactive)
            Reporter:
            bshannon Bill Shannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: