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.