-
Bug
-
Resolution: Duplicate
-
P4
-
7u55
Full test name:
closed/java/awt/Toolkit/ToolkitThreadGroupTest/ToolkitThreadGroupTest.java
Reproducible: always
Platform specific: yes
Test always fails on linux.
When test tries to get toolkit thread name, it doesn't check if os name is "linux" and throws runtime exception.
This line should be changed to make test work on linux:
...
54 } else if (OS.contains("nix") || (OS.contains("sunos")) || (OS.contains("linux"))) {
...
closed/java/awt/Toolkit/ToolkitThreadGroupTest/ToolkitThreadGroupTest.java
Reproducible: always
Platform specific: yes
Test always fails on linux.
When test tries to get toolkit thread name, it doesn't check if os name is "linux" and throws runtime exception.
This line should be changed to make test work on linux:
...
54 } else if (OS.contains("nix") || (OS.contains("sunos")) || (OS.contains("linux"))) {
...