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

JCK1.5a, 6.0 : api/javax_sql/ConnectionEvent/serial/index.html#Constructor fails, mustang

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • core-libs
    • generic
    • generic

      JCK : jck1.5a, jck6.0
      J2SE : FAIL - mustang b39
                       PASS - mustang b38
      Platform[s] : FAIL - All
      switch/Mode : FAIL - default
       
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests:
      ===============
      api/javax_sql/ConnectionEvent/serial/index.html#Constructor

      Test source location:
      =====================
      /net/jsqalab.sfbay/export/testsuites/JCK/jck6.0/b01/JCK-runtime-60/tests/api/javax_sql/ConnectionEvent/serial/index_Constructor.jtr

      jtr file location:
      ==================
      attached

      How to reproduce:
      ====================
      --------------script starts --------------------------
      #!/bin/sh
      #Paths in Java Software:
      JDK=/export/jdk/b39/solaris-sparc/jdk1.6.0

      #JCK=/net/jsqalab.sfbay/export/testsuites/JCK/jck1.5a/b11/JCK-runtime-15a
      JCK=/net/jsqalab.sfbay/export/testsuites/JCK/jck6.0/b01/JCK-runtime-60

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      LD_LIBRARY_PATH="$JCK/lib/SunOS.sparc:$JCK/lib/SunOS.sparc/jmx"
      export LD_LIBRARY_PATH
      POLICYFILE="-Djava.security.policy=$JCK/lib/jck.policy"

      TEST="javasoft.sqe.tests.api.javax.sql.ConnectionEvent.serial.ConstructorTests -TestCaseID ALL"

      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep
      JCK_BUILD`

      $JDK/bin/java -showversion -cp $CLASSPATH $POLICYFILE $TEST
      --------------script ends -----------------------------------

      Test output:
      =============
      serial2001: Failed. Test case throws exception: java.lang.IllegalArgumentExcepti
      on: Invalid field: java.sql.SQLException ex
      serial2002: Failed. Test case throws exception: java.lang.IllegalArgumentExcepti
      on: Invalid field: java.sql.SQLException ex
      java.lang.IllegalArgumentException: Invalid field: java.sql.SQLException ex
              at javasoft.sqe.serial.BasicStreamObject.getObjectField(BasicStreamObjec
      t.java:795)
              at javasoft.sqe.tests.api.javax.sql.ConnectionEvent.serial.ConstructorTe
      sts.serial2001(ConstructorTests.java:117)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399
      )
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
              at javasoft.sqe.tests.api.javax.sql.ConnectionEvent.serial.ConstructorTe
      sts.main(ConstructorTests.java:60)
      ----------out2:(6/172)----------
      Creating StreamObject from Object
      Checking for JDK Version : 1.4
      Creating spec class.
      Creating StreamObject from Object
      Checking for JDK Version : 1.4
      Creating spec class.


      Specific Machine Info:
      =====================
      $ uname -a
      SunOS kang 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-60
      ###@###.### 2005-06-11 01:57:10 GMT

            Unassigned Unassigned
            jsongsunw Joo Song (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: