Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6776839

AWTUtilities.setWindowOpaque() causes a stack overflow on X11

    XMLWordPrintable

Details

    • b02
    • b02
    • generic
    • generic

    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)

      Attachments

        Activity

          People

            anthony Anthony Petrov (Inactive)
            anthony Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: