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

ByteToCharGB18030 exception in 1.4.2_04-b05

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2_04
    • core-libs

      Run Orion 2 "installer" in zh_CN.GB18030 locale under Solaris 9UR6 on Sparc, the following exception is displayed:

      ./installer
      com.sun.orion.dre.DREException
              at
      com.sun.orion.dre.helpers.ProcessExecutor.getInputStrings(ProcessExecutor.java:377)
              at
      com.sun.orion.dre.helpers.ProcessExecutor.execute(ProcessExecutor.java:243)
              at
      com.sun.orion.dre.detection.SolarisInstallationDetectionEngine.populateDetectionCache(SolarisInstallationDetectionEngine.java:413)
              at
      com.sun.orion.dre.detection.SolarisInstallationDetectionEngine.bootstrap(SolarisInstallationDetectionEngine.java:352)
              at
      com.sun.orion.dre.detection.InstallationDetectionManager.bootstrap(InstallationDetectionManager.java:103)
              at
      com.sun.orion.dre.bootstrap.InstallationDetectionManagerBootstrapper.bootstrapDetectionManager(InstallationDetectionManagerBootstrapper.java:51)
              at
      com.sun.orion.dre.bootstrap.InstallationDetectionManagerBootstrapper.run(InstallationDetectionManagerBootstrapper.java:33)
              at java.lang.Thread.run(Thread.java:534)
      Caused by: sun.io.MalformedInputException
              at sun.io.ByteToCharGB18030.convert(ByteToCharGB18030.java:142)
              at
      sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:247)
              at
      sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
              at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
              at java.io.InputStreamReader.read(InputStreamReader.java:167)
              at java.io.BufferedReader.fill(BufferedReader.java:136)
              at java.io.BufferedReader.readLine(BufferedReader.java:299)
              at java.io.BufferedReader.readLine(BufferedReader.java:362)
              at
      com.sun.orion.dre.helpers.ProcessExecutor.getInputStrings(ProcessExecutor.java:367)
              ... 7 more

      The jre version in the .install directory is "1.4.2_04-b05"
      (/net/sgtpepper.sfbay/export5/s9orion2_nightly/orion1of2_sparc.s9_orion2/latest/Solaris_sparc/.install/j2se_jre/bin 37 % ./java -fullversion
      java full version "1.4.2_04-b05"

            ilittlesunw Ian Little (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: