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

Methods LSSerialiser.setEncoding() does not raise 'unsupported-encoding' error

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic
    • OS:
      generic

      Description

      Name: icR10030 Date: 12/29/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b32
      JCK : JCK1.5-runtime-b10
      Platform[s] : RedHat Advanced Server 3 (Gnome), RedHat Linux 9.0 (GNOME), Turbo Linux 8.0 (GNOME), Windows 2003 (64 bit), Windows XP Pro, Solaris 10 (sparc) (CDE),
      Solaris 9 (sparc) (CDE), Solaris 9 (x86) (CDE)
      switch/Mode : -XX:+UseParallelGC -Xfuture, -Xconcgc -XX:+UseParNewGC -Xfuture, -Xfuture, -Xincgc -Xfuture, -d64 -esa -Xfuture, -server -Xmixed -Xfuture, plugin, plugin
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
               api/org_w3c/dom/ls/LSSerializer/index.html#write [write0013]

      JCK1.5-runtime api/org_w3c/dom/ls/LSSerializer/index.html#write test fails with JDK1.5.0-b32
      The test is new in jck1.5-b10

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15/tests/api/org_w3c/dom/ls/LSSerializer/writeTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/linux/redhat9.0_gnome_smp_plugin_ns6.1_linux-5/workDir/api/org_w3c/dom/ls/LSSerializer/index_write.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/bash

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b32/binaries/linux-i586"
      JCK="/java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b32/binaries/linux-i586"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"

      #Alternative paths for the NSK site:
      #JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
      #JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"


      switches=""
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.org.w3c.dom.ls.LSSerializer.writeTests -TestCaseID result write0013

      --- script end ---

      Test output:
      ============

      Test output (jtr part):
      =======================
      ----------log:(13/487)----------
      write0001: Passed. OKAY
      write0002: Passed. OKAY
      write0003: Passed. OKAY
      write0004: Passed. OKAY
      write0005: Passed. OKAY
      write0006: Passed. OKAY
      write0007: Passed. OKAY
      write0008: Passed. OKAY: parameter is not supported by this implementation.
      write0009: Passed. OKAY: setting a parameter 'canonical-form' to true is not supported by this implementation
      write0010: Passed. OKAY
      write0011: Passed. OKAY
      write0012: Passed. OKAY
      write0013: Failed. 'unsupported-encoding' error was expected
      result: Failed. test cases: 13; passed: 12; failed: 1; first test case failure: write0013


      test result: Failed. test cases: 13; passed: 12; failed: 1; first test case failure: write0013



      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro
      Hostname: linux-4
      OS: Turbo Linux 8.0 (GNOME)
      Hostname: linux-5
      OS: RedHat Linux 9.0 (GNOME)
      Hostname: linux-6
      OS: Solaris 9 (x86) (CDE)
      Hostname: linux-8
      OS: Solaris 10 (sparc) (CDE)
      Hostname: linux-9
      OS: Windows 2003 (64 bit)
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)



      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              vkorcl Venugopal K (Inactive)
              Reporter:
              ichesunw Iche Iche (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: