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

closed/javax/swing/JSplitPane/UnitTest/UnitTest.java fails

XMLWordPrintable

    • b57
    • 7
    • b130
    • generic, x86, sparc
    • generic, linux_redhat_5.0, solaris
    • Verified

      Testsuite name: regression j2se
      test: closed/javax/swing/JSplitPane/UnitTest/UnitTest.java
      JDK/JRE tested: jdk7 b106
      OS/architecture: x64 rhel 5
      Reproducible: Always
      Reproducible on machine: stt-57.russia
      Is it a platform specific regression: N
      Is it a Regression: N

      Test run log location:
      [stt-robot@stt-57]$ cat cur/work/closed/javax/swing/JSplitPane/UnitTest/UnitTest.jtr
      #Test Results (version 2)
      #Tue Aug 24 19:45:41 MSD 2010
      #checksum:127abec82fb86c48
      #-----testdescription-----
      $file=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/javax/swing/JSplitPane/UnitTest/UnitTest.java
      $root=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test
      author=Scott Violet
      keywords=bug4179554 bug4223032 bug4244268 bug4149278
      library=../../regtesthelpers
      run=USER_SPECIFIED build Blocker\nUSER_SPECIFIED main UnitTest\n
      source=UnitTest.java
      title=A UnitTest to exercise various portions of JSplitPane

      #-----environment-----

      #-----testresult-----
      description=file:///net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/javax/swing/JSplitPane/UnitTest/UnitTest.java
      end=Tue Aug 24 19:45:41 MSD 2010
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Too small, wants java.awt.Dimension[width=30,height=15] is java.awt.Dimension[width=20,height=398]
      javatestOS=Linux 2.6.18-194.el5 (i386)
      javatestVersion=3.2.2_03
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build build main
      start=Tue Aug 24 19:45:39 MSD 2010
      test=closed/javax/swing/JSplitPane/UnitTest/UnitTest.java
      work=/export/JQA/regression/cur/work/closed/javax/swing/JSplitPane/UnitTest

      #section:script_messages
      ----------messages:(4/186)----------
      JDK under test: (/export/jdk/jdk1.7.0b106)
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b106)
      Java HotSpot(TM) Client VM (build 19.0-b05, mixed mode, sharing)

      #section:build
      ----------messages:(3/103)----------
      command: build Blocker
      reason: User specified action: run build Blocker
      elapsed time (seconds): 0.002
      result: Passed. All files up to date

      #section:build
      ----------messages:(3/91)----------
      command: build UnitTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. All files up to date

      #section:main
      ----------messages:(3/103)----------
      command: main UnitTest
      reason: User specified action: run main UnitTest
      elapsed time (seconds): 1.538
      ----------System.out:(0/0)----------
      ----------System.err:(19/1305)----------
      java.lang.RuntimeException: Too small, wants java.awt.Dimension[width=30,height=15] is java.awt.Dimension[width=20,height=398]
      at UnitTest.verifySize(UnitTest.java:308)
      at UnitTest.verifyMinMaintained(UnitTest.java:220)
      at UnitTest.doTest(UnitTest.java:365)
      at UnitTest.<init>(UnitTest.java:63)
      at UnitTest$1.run(UnitTest.java:43)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:660)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:209)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:118)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Too small, wants java.awt.Dimension[width=30,height=15] is java.awt.Dimension[width=20,height=398]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Too small, wants java.awt.Dimension[width=30,height=15] is java.awt.Dimension[width=20,height=398]
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Too small, wants java.awt.Dimension[width=30,height=15] is java.awt.Dimension[width=20,height=398]


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Too small, wants java.awt.Dimension[width=30,height=15] is java.awt.Dimension[width=20,height=398]

      Steps to reproduce:

      [stt-robot@stt-57]$ /export/jdk/jdk1.7.0b106/bin/javac UnitTest.java
      Note: UnitTest.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      [stt-robot@stt-57]$ /export/jdk/jdk1.7.0b106/bin/java UnitTest
      Exception in thread "main" java.lang.RuntimeException: Too small, wants java.awt.Dimension[width=30,height=15] is java.awt.Dimension[width=20,height=398]
      at UnitTest.verifySize(UnitTest.java:308)
      at UnitTest.verifyMinMaintained(UnitTest.java:220)
      at UnitTest.doTest(UnitTest.java:365)
      at UnitTest.<init>(UnitTest.java:63)
      at UnitTest$1.run(UnitTest.java:43)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:660)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:209)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:118)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

      It seems to be test bug.

            alexp Alexander Potochkin (Inactive)
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: