-
Bug
-
Resolution: Unresolved
-
P4
-
20, 22, 23, 24
-
None
-
x86
-
generic
java/awt/Dialog/FileDialogIconTest/FileDialogIconTest.java sets the same image for Frame & Dialog .
Step to reproduce
----------------------------
1) Run java/awt/Dialog/FileDialogIconTest/FileDialogIconTest.java
2) Click on setIconImageToFrame observe that loading-msg image is displayed 3) Click on setIconImageToDialog observe that same loading-msg image is displayed . It feels that new image for setIconImageToDialog is not applied to Dialog.
After checking the test case found that the same image is used for both the buttons https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/Dialog/FileDialogIconTest/FileDialogIconTest.java#L107
Note: Button setIconBufferedImagesToDialog & setIconBufferedImagesToFrame is defined and action listener is also defined but never used.
https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/Dialog/FileDialogIconTest/FileDialogIconTest.java#L98-L99
Step to reproduce
----------------------------
1) Run java/awt/Dialog/FileDialogIconTest/FileDialogIconTest.java
2) Click on setIconImageToFrame observe that loading-msg image is displayed 3) Click on setIconImageToDialog observe that same loading-msg image is displayed . It feels that new image for setIconImageToDialog is not applied to Dialog.
After checking the test case found that the same image is used for both the buttons https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/Dialog/FileDialogIconTest/FileDialogIconTest.java#L107
Note: Button setIconBufferedImagesToDialog & setIconBufferedImagesToFrame is defined and action listener is also defined but never used.
https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/Dialog/FileDialogIconTest/FileDialogIconTest.java#L98-L99
- links to
-
Review(master) openjdk/jdk/23523