Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6776839
Votes 0
Synopsis AWTUtilities.setWindowOpaque() causes a stack overflow on X11
Category java:classes_awt
Reported Against
Release Fixed 6u12(b02)
State 10-Fix Delivered, bug
Priority: 1-Very High
Related Bugs 6730439
Submit Date 26-NOV-2008
Description
The fix for 6730439 introduced the Enhanced Security Warning on the X11 platforms. Before that fix unsigned application were not allowed to use non-opaque windows (as introduced in 6u10). With the fix for 6730439 the effect was enabled for such applications on X11. However, due to a typo this now causes a StackOverflowException to be thrown whenever an applications enables the effect. The stack trace is as follows:

        at sun.awt.X11.XWindowPeer.setOpaque(XWindowPeer.java:1936)
        at java.awt.Window.applyOpaque(Window.java:3367)
        at java.awt.Window.access$800(Window.java:132)
        at java.awt.Window$1.setOpaque(Window.java:3426)
        at sun.awt.X11.XWindowPeer.setOpaque(XWindowPeer.java:1936)
        at java.awt.Window.applyOpaque(Window.java:3367)
        at java.awt.Window.access$800(Window.java:132)
        at java.awt.Window$1.setOpaque(Window.java:3426)
Posted Date : 2008-11-26 13:50:34.0
Work Around
N/A
Evaluation
The fix is considered P1 since it breaks the new feature on X11 platofrms.

We need to make the method XWindowPeer.setOpaque() no-op because it is not needed at all on X11.
Posted Date : 2008-11-26 14:19:33.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang