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

javax/swing/JTextArea/bug4265784.java fails on Ubuntu 24.04.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 23, 24
    • client-libs
    • b26
    • x86
    • linux_ubuntu

        javax/swing/JTextArea/bug4265784.java fails on Ubuntu 24.04.1
        Step to reproduce
        ---------------------------
        1) Run the testcase
        2) Observe that Frame is not seen but Tab key is pressed
        3) Testcase fails with following

        ----------System.out:(2/4)----------
        0
        0
        ----------System.err:(11/581)----------
        java.lang.RuntimeException: TAB ignored
        at bug4265784.main(bug4265784.java:80)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1576)


        Note: I modified the test, changed from pack() https://github.com/openjdk/jdk/blob/master/test/jdk/javax/swing/JTextArea/bug4265784.java#L55
        to setSize(200,200) . Run the test, Frame is visible and Tab key is pressed and test passed.

              psadhukhan Prasanta Sadhukhan
              landrews Lawrence Andrews
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: