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

HTTPS Support Test throw sun.io.MalformedInputException on ja_JP.UTF8 locale

XMLWordPrintable

    • sparc
    • solaris_7

      Tested with ladybird-b15 on Solaris 7 and 8 (sparc/x86) ja_JP.UTF8 locale using NS4.7 and NS6.

      HTTPS Support test case throw MalformedInputException on Java Console as below;

      sun.io.MalformedInputException
              at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:90)
              at java.io.InputStreamReader.convertInto(InputStreamReader.java:137)
              at java.io.InputStreamReader.fill(InputStreamReader.java:186)
              at java.io.InputStreamReader.read(InputStreamReader.java:249)
              at java.io.BufferedReader.fill(BufferedReader.java:139)
              at java.io.BufferedReader.readLine(BufferedReader.java:299)
              at java.io.BufferedReader.readLine(BufferedReader.java:362)
              at FilePost.POST(FilePost.java:82)
              at FilePost.actionPerformed(FilePost.java:224)
              at java.awt.Button.processActionEvent(Button.java:329)
              at java.awt.Button.processEvent(Button.java:302)
              at java.awt.Component.dispatchEventImpl(Component.java:2593)
              at java.awt.Component.dispatchEvent(Component.java:2497)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)


      To reproduce;
      1. Install NS4.7 or NS6 and ladybird-b15.
      2. login in ja_JP.UTF8 locale
      2. In case NS4.7;
         Set the NPX_PLUGIN_PATH environment variable to the directory containing the javaplugin.so file
      3. Launch Netscape browser and go to the URL below;
      http://sqesvr.eng.sun.com/deployment1/ws/doc/proc/JPI_https.html
      4. Go to the Test_Case_11 and click test case in Java Web Server.
      http://kittest.eng.sun.com/https/cricket/FilePost.html
      https://kittest.eng.sun.com/https/cricket/FilePost.html
      5. The result is FAILED and exception will be thrown on Java console as above.


      This problem is not seen in jdk1.3(Kestrel).
         

            mcolburnsunw Michael Colburn (Inactive)
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: