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

JCK6.0 : api/javax_xml/datatype/XMLGregorianCalendar/index.html#EqualsAndHashCode fails, mustang

    Details

    • Subcomponent:
    • Resolved In Build:
      b58
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      JCK : JCK 6.0
      J2SE : FAIL - mustang b40
                       PASS - tiger update 4, mustang b39
      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_xml/datatype/XMLGregorianCalendar/index.html#EqualsAndHashCode

      Test source location:
      =====================
      /net/jsqalab.sfbay/export/testsuites/JCK/jck6.0/b01/JCK-runtime-60/tests/api/javax_xml/datatype/XMLGregorianCalendar/EqualsAndHashCodeTests.java

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

      How to reproduce:
      ====================
      --------------script starts --------------------------
      #!/bin/sh
      #Paths in Java Software:
      #JDK=/net/koori/onestop/jdk/1.6.0/promoted/all/b39/binaries/solaris-sparc
      JDK=/export/jdk/b40/solaris-sparc/jdk1.6.0
      JCK=/net/cady/export/dtf/unified/knight-ws/suites/jck/jck6.0/JCK-runtime-60

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

      TEST="javasoft.sqe.tests.api.javax.xml.datatype.XMLGregorianCalendar.EqualsAndHashCodeTests -TestCaseID ALL"

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

      $JDK/bin/java -showversion -cp $CLASSPATH $POLICY $TEST

      --------------script ends -----------------------------------

      Test output:
      =============
      equals0001: Failed. Test case throws exception: java.lang.NullPointerException: Cannot test null for equality with this XMLGregorianCalendar
      java.lang.NullPointerException: Cannot test null for equality with this XMLGregorianCalendar at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.equals(XMLGregorianCalendarImpl.java:1662)
              at javasoft.sqe.jck.lib.lang.Equals.nullTest(Equals.java:142)
              at javasoft.sqe.jck.lib.lang.Equals.primaryTest(Equals.java:292)
              at javasoft.sqe.jck.lib.lang.Equals.fullTest(Equals.java:96)
              at javasoft.sqe.tests.api.javax.xml.datatype.XMLGregorianCalendar.EqualsAndHashCodeTests.equals0001(EqualsAndHashCodeTests.java:93)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.xml.datatype.XMLGregorianCalendar.EqualsAndHashCodeTests.main(EqualsAndHashCodeTests.java:78)


      Specific Machine Info:
      =====================
      $ uname -a
      SunOS kang 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-60
      ###@###.### 2005-06-14 17:24:03 GMT

        Attachments

          Activity

            People

            • Assignee:
              sreddysunw Sunitha Reddy (Inactive)
              Reporter:
              jsongsunw Joo Song (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: