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

JTabbedPane mnemonics don't work from outside the tabbed pane

XMLWordPrintable

      FULL PRODUCT VERSION :
      JDK under test: C:\\Program Files\\Java\\jdk1.8.0_112
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.14393]

      A DESCRIPTION OF THE PROBLEM :
      The test javax/swing/JTabbedPane/4624207/bug4624207.java fails on Windows with the message "JTabbedPane mnemonics don't work from outside the tabbed pane"

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jtreg/bin/jtreg -v test/javax/swing/JTabbedPane


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/125)----------
      command: main bug4624207
      reason: User specified action: run main bug4624207
      Mode: othervm
      elapsed time (seconds): 0.756
      ----------configuration:(0/0)----------
      ----------System.out:(1/20)----------
      focusGained called
      ----------System.err:(13/856)----------
      java.lang.RuntimeException: JTabbedPane mnemonics don't work from outside the tabbed pane
      at bug4624207.main(bug4624207.java:113)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: JTabbedPane mnemonics don't work from outside the tabbed pane
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: JTabbedPane mnemonics don't work from outside the tabbed pane


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/e5b1823a897e/test/javax/swing/JTabbedPane/4624207/bug4624207.java
      ---------- END SOURCE ----------

            psadhukhan Prasanta Sadhukhan
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: