-
Bug
-
Resolution: Fixed
-
P4
-
23, 24
-
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.
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.
- links to
-
Commit(master) openjdk/jdk/e21d06f4
-
Review(master) openjdk/jdk/22230