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

JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14, 15
    • Fix Version/s: 15
    • Component/s: client-libs
    • Environment:

      Linux Ubuntu 19.10 64 bit

    • Subcomponent:
    • Resolved In Build:
      b16
    • OS:
      linux

      Description

      Additional info:
      Windows 10 Pro, 64 bit
      Linux Ubuntu 19.10 64 bit

      Tested on
      JDK 14 build 27.

      Testcase javax/swing/JTabbedPane/TabProb.java failed with below mentioned error.
      ----------System.err:(14/972)----------
      java.lang.RuntimeException: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
      at TabProb.test(TabProb.java:123)
      at TabProb.main(TabProb.java:92)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT

        Attachments

          Activity

            People

            • Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              amrsahu Amresh Sahu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: