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

JCK: api/javax_swing/text/FlowView/index.html#misc : FlowView misc() methods tests Failed

XMLWordPrintable

    • b14
    • generic
    • generic
    • Verified

      J2SE : Fail - 6.0[mustang] b09,b11,b12
                     : pass - 1.5.0_01 -b04,6.0[mustang] b07,b08
      JCK : jck1.5
      Platform[s] : Solaris Sparc 10,Solaris9 x86,Quicksilver,WindowsXP AMD64bit(32bit JVM),Windows 2003
      switch/Mode : PL/MOZ, -client -Xcomp,Pl/IE6, -xcongcgc -XX :+UseParNewGC
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests :
      api/javax_swing/text/FlowView/index.html#misc : FlowView misc() methods tests

      Test source location:
      =====================
      /net/koori.sfbay/p/v04/jck/1.5/fcs/b28/binaries/JCK-runtime-15/tests/api/javax_swing/text/FlowView/miscTests.java

      jtr file location:
      ==================
      net/sqe.sfbay/global/nfs/jckreg1/mustang/b09/jck/jck-jck_runtime-sparc10_MOZ16-2004-10-21-18-07-10-0904/workDir/api/javax_swing/text/FlowView/index_misc.jtr

      How to reproduce:
      ====================

      --------Script START---------------------
      #!/bin/sh

      #Paths
      #JDK="/net/koori.sfbay/p/jdk04/jdk/1.5.0_01/ea/b03/binaries/solaris-sparc"
      JDK="/net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b09/binaries/solaris-sparcv9"
      #JDK="/net/xinu.sfbay/p/vol4/jdk/6.0/ea/b08/binaries/solaris-sparc"

      #JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"

      #JDK="/export/jdk/b02/solaris-i586/jdk1.5.0_01"
      JCK="/net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15"

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

      TEST="javasoft.sqe.tests.api.javax.swing.text.FlowView.miscTests -TestCaseID ALL"

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

      #$JDK/bin/java -showversion -cp $CLASSPATH $TEST
      $JDK/bin/java -cp $CLASSPATH $TEST
      --------Script END----------------------

      Test output:
      =============
      java.lang.ArrayIndexOutOfBoundsException: -1
      at javax.swing.text.CompositeView.getView(CompositeView.java:143)
      at javax.swing.text.FlowView$FlowStrategy.reparentViews(FlowView.java:614)
      at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:437)
      at javax.swing.text.FlowView.layout(FlowView.java:183)
      at javasoft.sqe.tests.api.javax.swing.text.FlowView.StubFlowView.layout(StubFlowView.java:35)
      at javasoft.sqe.tests.api.javax.swing.text.FlowView.miscTests.FlowView2009(miscTests.java:110)
      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.swing.text.FlowView.miscTests.main(miscTests.java:30)
      FlowView2009: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException: -1
       === protected void loadChildren(ViewFactory f) ===
       === protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) ===
       === protected void layout(int width, int height) ===
      STATUS:Failed.test cases: 3; passed: 2; failed: 1; first test case failure: FlowView2009

      Specific Machine Info:
      =====================
      norma% uname -a
      SunOS norma 5.10 s10_69 sun4u sparc SUNW,Ultra-60
      ###@###.### 10/28/04 22:58 GMT
      ###@###.### 2004-11-17 00:42:14 GMT

            peterz Peter Zhelezniakov
            rdannapa Rajesh Dannapaneni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: