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

closed/javax/swing/SwingUtilities/6464003/bug6464003.java fails with RuntimeException

    Details

      Description

      Bug Info
      ========
      closed/javax/swing/SwingUtilities/6464003/bug6464003.java fails with the following exception.

      java.lang.RuntimeException: The right side bearing is not taken in the account in SwingUtilities.layoutCompoundLabel().
      at bug6464003.main(bug6464003.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:717)

      It fails on all platforms like solaris,windows and linux.

      JDK Info
      =========
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-administrator_2009_06_01_0
      1_18-b00)
      Java HotSpot(TM) Client VM (build 16.0-b03, mixed mode, sharing)

      Steps to Reproduce
      ===================
      Set the following envrionment and run the test.

      1. Set JTREG PATH
      2. Set JDK HOME
      3. Set WORK DIR and REPORT DIR
      4. Set the SUITE(ex: SUITE=/net/sqindia.india/export/disk01/vinay/src/jdk/test/closed/javax/swing/SwingUtilities/6464003/bug6464003.java)
      5. Run the following command once set the above environment.

      ksh ${JTREG_PATH}/bin/jtreg -v -jdk:${JDK_HOME} -r:${REPORT_DIR} -w:${WORK_DIR} ${SUITE}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vthotasunw Vinay Thota (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: