-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b132
-
x86
-
solaris
-
Verified
The answer to the question "Desktop.isDesktopSupported()" is not always the same for the same implementation executed on the same system.
OS: Solaris, i586
Machine: zenit.russia.sun.com
JDK: 6, 7
import java.awt.*;
public class DSupport {
public static void main(String[] args) {
System.out.println("Desktop.isDesktopSupported() = " + Desktop.isDesktopSupported());
}
}
If executed like about 300 times - among "true" answers, several "false" results appear
<db158260@zenit(pts/6).347> for i in {1..300}; do /net/zenit/export/users/db158260/jdk/solaris-i586/6u21/jdk1.6.0_21/bin/java -cp . DSupport; done
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = false
Desktop.isDesktopSupported() = false
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
...
OS: Solaris, i586
Machine: zenit.russia.sun.com
JDK: 6, 7
import java.awt.*;
public class DSupport {
public static void main(String[] args) {
System.out.println("Desktop.isDesktopSupported() = " + Desktop.isDesktopSupported());
}
}
If executed like about 300 times - among "true" answers, several "false" results appear
<db158260@zenit(pts/6).347> for i in {1..300}; do /net/zenit/export/users/db158260/jdk/solaris-i586/6u21/jdk1.6.0_21/bin/java -cp . DSupport; done
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = false
Desktop.isDesktopSupported() = false
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
Desktop.isDesktopSupported() = true
...
- relates to
-
JDK-7006500 dlerror has non-empty msg just before the desktop init
- Closed