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

Uninitialized libXrender.so crashes AWT

    Details

    • Subcomponent:
    • Introduced In Build:
      b12
    • Introduced In Version:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      linux

      Description

      The fix for 6633275 (Need to support shaped/translucent windows) uses the libXrender.so library to query whether a given GraphicsConfiguration supports translucency effects. If Java runs on an X11 display that is not configured to use the XRENDER extension, the X server doesn't initialize it, and invoking the XRenderFindVisualFormat() function from the manually loaded libXrender.so library returns NULL. Therefore, the code using this method should carefully test the returned value, and not assume that it is always a valid pointer.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: