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

sun4m ONLY: 62 JCK-runtime-13rc2 api tests are failing in -client mode.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.3.0
    • hotspot
    • sparc
    • solaris_8

      139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.main(contentTests.java:37)
      HTMLWriter2034: Failed. Test case throws exception: java.lang.IllegalArgumentException: Illegal Load: 0.75
      STATUS:Failed. tests: 14; passed: 7; failed: 7; first test case failure: HTMLWriter2028
      97

      3. Running these tests with "-client -Xint" work fine.


      vincent.lee@eng 2000-05-31
      The following 62 JCK-runtime-13rc2 api tests are failing in -client mixed mode.
      ===============================================================================

           1 JCK-runtime-13rc2/tests/api/java_awt/Layout/GridBagLayoutTests.html#GridBagLayout
           2 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#InverseTransformTesttestCase3
           3 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase10
           4 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase11
           5 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase12
           6 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase3
           7 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase4
           8 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase5
           9 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase6
          10 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase7
          11 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase8
          12 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/AffineTransform/index.html#TransformTesttestCase9
          13 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#ConstructorTesttestCase3
          14 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#ConstructorTesttestCase4
          15 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#ConstructorTesttestCase5
          16 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#ContainsTesttestCase1
          17 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#ContainsTesttestCase4
          18 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#GetStartEndPointTesttestCase1
          19 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#GetStartEndPointTesttestCase2
          20 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#SetTesttestCase3
          21 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#SetTesttestCase4
          22 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#SetTesttestCase5
          23 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Arc2DFloat/index.html#SetTesttestCase6
          24 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Area/index.html#ConstructorTesttestCase2
          25 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#GetBounds2DTesttestCase1
          26 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#GetBounds2DTesttestCase2
          27 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#GetPathIteratorTesttestCase1
          28 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#GetPathIteratorTesttestCase2
          29 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#GetTesttestCase11
          30 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#GetTesttestCase9
          31 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#SetCurveTesttestCase1
          32 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#SetCurveTesttestCase2
          33 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#SetCurveTesttestCase3
          34 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#SetCurveTesttestCase4
          35 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#SetCurveTesttestCase5
          36 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/CubicCurve2DFloat/index.html#SetCurveTesttestCase6
          37 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Ellipse2DFloat/index.html#ConstructorTesttestCase2
          38 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/GeneralPath/index.html#GetBounds2DTesttestCase1
          39 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/GeneralPath/index.html#GetBounds2DTesttestCase2
          40 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Line2DFloat/index.html#ConstructorTesttestCase2
          41 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Line2DFloat/index.html#ConstructorTesttestCase3
          42 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/Line2DFloat/index.html#ConstructorTesttestCase4
          43 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/QuadCurve2DFloat/index.html#ConstructorTesttestCase2
          44 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/QuadCurve2DFloat/index.html#GetBounds2DTesttestCase1
          45 JCK-runtime-13rc2/tests/api/java_awt/java2d/geom/QuadCurve2DFloat/index.html#GetBoundsTesttestCase1
          46 JCK-runtime-13rc2/tests/api/java_awt/java2d/image/WritableRaster/index.html#CreateChildTest
          47 JCK-runtime-13rc2/tests/api/java_awt/serialization/descriptions.html#FontMetrics
          48 JCK-runtime-13rc2/tests/api/java_lang/Math/desc.html#IEEEremainder
          49 JCK-runtime-13rc2/tests/api/java_lang/Math/desc.html#exp
          50 JCK-runtime-13rc2/tests/api/java_lang/Math/desc.html#pow
          51 JCK-runtime-13rc2/tests/api/java_lang/ref/SoftReference/index.html#SoftReference0600
          52 JCK-runtime-13rc2/tests/api/java_text/DecimalFormat/index.html#Format
          53 JCK-runtime-13rc2/tests/api/java_util/TimeZone/index.html#getDisplayName
          54 JCK-runtime-13rc2/tests/api/javax_swing/JEditorPane/index.html#protected
          55 JCK-runtime-13rc2/tests/api/javax_swing/JFileChooser/descriptions.html#getset
          56 JCK-runtime-13rc2/tests/api/javax_swing/text/html/HTMLWriter/index.html#content
          57 JCK-runtime-13rc2/tests/api/javax_swing/text/html/HTMLWriter/index.html#parseChar
          58 JCK-runtime-13rc2/tests/api/javax_swing/tree/DefaultTreeCellEditor/index.html#Methods
          59 JCK-runtime-13rc2/tests/api/signaturetest/SignatureTest.html#CORBASignatureTest
          60 JCK-runtime-13rc2/tests/api/signaturetest/SignatureTest.html#NamingSignatureTest
          61 JCK-runtime-13rc2/tests/api/signaturetest/SignatureTest.html#SignatureTest
          62 JCK-runtime-13rc2/tests/api/signaturetest/SignatureTest.html#SwingSignatureTest

      To Reproduce:
      =============
      1. Extract all files from attached file 'JCK-api.sun4m_bugs.jar'. This will expand into 62 directories.
      2. Run the Korn shell script inside each directory to see the failures. For instance:

      jtg-s210$ index_content.ksh
      ====== HTMLWriter2021 ====== Writes out text that is contained in a TEXTAREA form element.
      HTMLWriter2021: Passed. OKAY
      ====== HTMLWriter2022 ====== Writes out text that is contained in a SELECT form element.
      HTMLWriter2022: Passed. OKAY
      ====== HTMLWriter2023 ====== Writes out the content of the Option form element.
      HTMLWriter2023: Passed. OKAY
      ====== HTMLWriter2024 ====== Writes out the attribute set.
      HTMLWriter2024: Passed. OKAY
      ====== HTMLWriter2025 ====== Determines if the HTML.Tag associated with the element is a block tag.
      HTMLWriter2025: Passed. OKAY
      ====== HTMLWriter2026 ====== This method return true if the StyleConstants.NameAttribute is equal to the tag that is passed in as a parameter.
      HTMLWriter2026: Passed. OKAY
      ====== HTMLWriter2027 ====== This method searches for embedded tag in the AttributeSet and writes them out.
      HTMLWriter2027: Passed. OKAY
      ====== HTMLWriter2028 ====== This method searches the attribute set and for each tag that is stored in the tag vector.
      java.lang.IllegalArgumentException: Illegal Load: 0.75
              at java.util.Hashtable.<init>(Hashtable.java:148)
              at java.util.Hashtable.<init>(Hashtable.java:166)
              at javax.swing.text.SimpleAttributeSet.<init>(SimpleAttributeSet.java:41)
              at javax.swing.text.html.HTMLWriter.<init>(HTMLWriter.java:981)
              at javax.swing.text.html.HTMLWriter.<init>(HTMLWriter.java:91)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.StubHTMLWriter.<init>(StubHTMLWriter.java:13)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.HTMLWriter2028(contentTests.java:457)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.main(contentTests.java:37)
      HTMLWriter2028: Failed. Test case throws exception: java.lang.IllegalArgumentException: Illegal Load: 0.75
      ====== HTMLWriter2029 ====== This method is responsible for writing text out.
      java.lang.IllegalArgumentException: Illegal Load: 0.75
              at java.util.Hashtable.<init>(Hashtable.java:148)
              at java.util.Hashtable.<init>(Hashtable.java:166)
              at javax.swing.text.SimpleAttributeSet.<init>(SimpleAttributeSet.java:41)
              at javax.swing.text.StyledEditorKit$1.<init>(StyledEditorKit.java:159)
              at javax.swing.text.StyledEditorKit.<init>(StyledEditorKit.java:154)
              at javax.swing.text.html.HTMLEditorKit.<init>(HTMLEditorKit.java:151)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.HTMLWriter2029(contentTests.java:502)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.main(contentTests.java:37)
      HTMLWriter2029: Failed. Test case throws exception: java.lang.IllegalArgumentException: Illegal Load: 0.75
      ====== HTMLWriter2030 ====== Writes out comments.
      java.lang.IllegalArgumentException: Illegal Load: 0.75
              at java.util.Hashtable.<init>(Hashtable.java:148)
              at java.util.Hashtable.<init>(Hashtable.java:166)
              at javax.swing.text.SimpleAttributeSet.<init>(SimpleAttributeSet.java:41)
              at javax.swing.text.StyledEditorKit$1.<init>(StyledEditorKit.java:159)
              at javax.swing.text.StyledEditorKit.<init>(StyledEditorKit.java:154)
              at javax.swing.text.html.HTMLEditorKit.<init>(HTMLEditorKit.java:151)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.HTMLWriter2030(contentTests.java:557)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.main(contentTests.java:37)
      HTMLWriter2030: Failed. Test case throws exception: java.lang.IllegalArgumentException: Illegal Load: 0.75
      ====== HTMLWriter2031 ====== This is method that iterates over the the Element tree and controls the writing out of all the tags and its attributes.
      java.lang.IllegalArgumentException: Illegal Load: 0.75
              at java.util.Hashtable.<init>(Hashtable.java:148)
              at java.util.Hashtable.<init>(Hashtable.java:166)
              at javax.swing.text.SimpleAttributeSet.<init>(SimpleAttributeSet.java:41)
              at javax.swing.text.StyledEditorKit$1.<init>(StyledEditorKit.java:159)
              at javax.swing.text.StyledEditorKit.<init>(StyledEditorKit.java:154)
              at javax.swing.text.html.HTMLEditorKit.<init>(HTMLEditorKit.java:151)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.HTMLWriter2031(contentTests.java:612)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.main(contentTests.java:37)
      HTMLWriter2031: Failed. Test case throws exception: java.lang.IllegalArgumentException: Illegal Load: 0.75
      ====== HTMLWriter2032 ====== Writes out all empty elements i.e tags that have no corresponding end tag.
      java.lang.IllegalArgumentException: Illegal Load: 0.75
              at java.util.Hashtable.<init>(Hashtable.java:148)
              at java.util.Hashtable.<init>(Hashtable.java:166)
              at javax.swing.text.SimpleAttributeSet.<init>(SimpleAttributeSet.java:41)
              at javax.swing.text.StyledEditorKit$1.<init>(StyledEditorKit.java:159)
              at javax.swing.text.StyledEditorKit.<init>(StyledEditorKit.java:154)
              at javax.swing.text.html.HTMLEditorKit.<init>(HTMLEditorKit.java:151)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.HTMLWriter2032(contentTests.java:677)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.main(contentTests.java:37)
      HTMLWriter2032: Failed. Test case throws exception: java.lang.IllegalArgumentException: Illegal Load: 0.75
      ====== HTMLWriter2033 ====== protected void output(char[] chars, int start, int length) throws IOException
      java.lang.IllegalArgumentException: Illegal Load: 0.75
              at java.util.Hashtable.<init>(Hashtable.java:148)
              at java.util.Hashtable.<init>(Hashtable.java:166)
              at javax.swing.text.SimpleAttributeSet.<init>(SimpleAttributeSet.java:41)
              at javax.swing.text.StyledEditorKit$1.<init>(StyledEditorKit.java:159)
              at javax.swing.text.StyledEditorKit.<init>(StyledEditorKit.java:154)
              at javax.swing.text.html.HTMLEditorKit.<init>(HTMLEditorKit.java:151)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.HTMLWriter2033(contentTests.java:731)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.main(contentTests.java:37)
      HTMLWriter2033: Failed. Test case throws exception: java.lang.IllegalArgumentException: Illegal Load: 0.75
      ====== HTMLWriter2034 ====== protected void writeLineSeparator() throws IOException
      java.lang.IllegalArgumentException: Illegal Load: 0.75
              at java.util.Hashtable.<init>(Hashtable.java:148)
              at java.util.Hashtable.<init>(Hashtable.java:166)
              at javax.swing.text.SimpleAttributeSet.<init>(SimpleAttributeSet.java:41)
              at javax.swing.text.StyledEditorKit$1.<init>(StyledEditorKit.java:159)
              at javax.swing.text.StyledEditorKit.<init>(StyledEditorKit.java:154)
              at javax.swing.text.html.HTMLEditorKit.<init>(HTMLEditorKit.java:151)
              at javasoft.sqe.tests.api.javax.swing.text.html.HTMLWriter.contentTests.HTMLWriter2034(contentTests.java:780)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:

            Unassigned Unassigned
            veelee Vincent Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: