On Thu, Sep 10, 2009 at 16:27, Alexey Suslikov <alexey.susli...@gmail.com> wrote: > Hello po...@. > > $ uname -a > OpenBSD localhost.my.domain 4.6 GENERIC.MP#120 amd64 > > $ /usr/local/jdk-1.7.0/bin/java -version > openjdk version "1.7.0-internal" > OpenJDK Runtime Environment (build 1.7.0-internal-robert_2009_08_08_14_04-b00) > OpenJDK 64-Bit Server VM (build 16.0-b03, mixed mode) > > $ cat Failure.java > public class Failure { > public static void main(String[] args) { > java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager(); > } > } > > $ /usr/local/jdk-1.7.0/bin/java -Djava.awt.headless=true Failure > Exception in thread "main" java.awt.HeadlessException > at > sun.awt.HeadlessToolkit.createKeyboardFocusManagerPeer(HeadlessToolkit.java:184) > at > java.awt.KeyboardFocusManager.initPeer(KeyboardFocusManager.java:454) > at java.awt.KeyboardFocusManager.<init>(KeyboardFocusManager.java:448) > at > java.awt.DefaultKeyboardFocusManager.<init>(DefaultKeyboardFocusManager.java:64) > at > java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager(KeyboardFocusManager.java:218) > at > java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager(KeyboardFocusManager.java:209) > at Failure.main(Failure.java:3) > > Known as http://bugs.sun.com/view_bug.do?bug_id=6833019 > > Fix > http://hg.openjdk.java.net/jdk7/awt/jdk/raw-diff/97ece6b3d84f/src/share/classes/sun/awt/HeadlessToolkit.java
For archives: * fixed with jre-1.7.0.00b72p0 in recent packages snap. Alexey