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

regression javax/swing/text/Utilities/bug6760148.java fails on 6u14b04

    Details

    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      x86
    • OS:
      solaris_10
    • Verification:
      Verified

      Backports

        Description

        regression test suite
        test: javax/swing/text/Utilities/bug6760148.java
        platoform: x86
        os: solaris10
        test fails on 6u14b04 and passes on 6u14b03
        fails with:
        invoking: testCharsWidth
        Exception in thread "main" java.lang.RuntimeException
                at SwingTestHelper.fail(SwingTestHelper.java:691)
                at Assert.assertTrue(Assert.java:22)
                at Assert.assertTrue(Assert.java:29)
                at bug6760148.checkCharsWidth(bug6760148.java:89)
                at bug6760148.traverseViews(bug6760148.java:62)
                at bug6760148.traverseViews(bug6760148.java:64)
                at bug6760148.testCharsWidth(bug6760148.java:54)
                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:597)
                at SwingTestHelper.invoke(SwingTestHelper.java:625)
                at SwingTestHelper.access$800(SwingTestHelper.java:173)
                at SwingTestHelper$6.run(SwingTestHelper.java:609)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

        to reproduct login at stt-12.russia under stt-robot :

        [stt-robot@stt-12]$ pwd
        /export/JQA/regression/6u14b04
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b04/bin/java -version
        java version "1.6.0_14-ea"
        Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b04)
        Java HotSpot(TM) Server VM (build 14.0-b13, mixed mode)
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b04/bin/javac bug6760148.java
        Note: bug6760148.java uses unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b04/bin/java bug6760148
        invoking: testCharsWidth
        Exception in thread "main" java.lang.RuntimeException
                at SwingTestHelper.fail(SwingTestHelper.java:691)
                at Assert.assertTrue(Assert.java:22)
                at Assert.assertTrue(Assert.java:29)
                at bug6760148.checkCharsWidth(bug6760148.java:89)
                at bug6760148.traverseViews(bug6760148.java:62)
                at bug6760148.traverseViews(bug6760148.java:64)
                at bug6760148.testCharsWidth(bug6760148.java:54)
                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:597)
                at SwingTestHelper.invoke(SwingTestHelper.java:625)
                at SwingTestHelper.access$800(SwingTestHelper.java:173)
                at SwingTestHelper$6.run(SwingTestHelper.java:609)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
                at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
        ^C[stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b03/bin/java -version
        java version "1.6.0_14-ea"
        Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b03)
        Java HotSpot(TM) Server VM (build 14.0-b12, mixed mode)
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b03/bin/javac bug6760148.java
        Note: bug6760148.java uses unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.
        [stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b03/bin/java bug6760148
        invoking: testCharsWidth
        OK
        ^C[stt-robot@stt-12]$ /export/jdk/jdk1.6.0_14b03/bin/java -version
        java version "1.6.0_14-ea"
        Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b03)
        Java HotSpot(TM) Server VM (build 14.0-b12, mixed mode)
        The top bug description should read "Regression: test case starts to fail in 6u14b04"

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rupashka Pavel Porvatov (Inactive)
                  Reporter:
                  ikobzaresunw Ivan Kobzarev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: