← Back to team overview

openjdk team mailing list archive

Bug#639306: NullPointerException in sun.awt.X11.XWindowPeer.restoreTransientFor

 

Hello,

This bug is fixed in the release 6b23~pre10-1 (and maybe before).

For the record, here is what has been done:
        SunToolkit.awtLock();
        try {
            windows.add(this);
            if (wm_protocols == null) {
                wm_protocols = XAtom.get("WM_PROTOCOLS");
                wm_delete_window = XAtom.get("WM_DELETE_WINDOW");
                wm_take_focus = XAtom.get("WM_TAKE_FOCUS");
            }
        }
        finally {
            SunToolkit.awtUnlock();
        }

Thanks
Sylvestre