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

PIT: Changing the frame's icon after it is shown does not work on Solaris

XMLWordPrintable

    • sparc
    • solaris_10

      I have set an icon to the frame and I have made the frame visible. The frame is showing the icon set. I am clicking on a button in the frame. On clicking this button, I am reading a new image and setting it as the icon for the frame. I expect the icon to change to this new icon. But the icon did not change and the frame still retains the old icon.

      This is reproducible on Solaris-Sparc10-JDS with b85 AWT PIT build. This is not reproducible on b84 promoted build on the same platform, where the frame's icon changes as soon as I click the button. Hence this is a regression introduced in the b85 PIT build.

      I have attached a sample test. Run the same test. You would see a frame with a duke icon. Click on the button. If the icon does not change to flower icon, the bug is reproduced.

            vbaranovsunw Vyacheslav Baranov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: