-
Bug
-
Resolution: Fixed
-
P1
-
1.1.7
-
b01
-
sparc
-
solaris_2.6
This is a 1.1.7 regression...
In the zip attach below, there is a very short class that demonstrates a
bug that was introduced on Solaris between 1.1.6 and 1.1.7. Running the
test class and displaying the program remotely on a PC under Hummingbird
Exceed 6.0.0.1 on WinNT 4.0 SP3, the following exception occurs
java.lang.NullPointerException
at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:113)
at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:87)
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:117)
at java.awt.Frame.addNotify(Frame.java:203)
at java.awt.Window.pack(Window.java:123)
at SetIconFrameTest.main(SetIconFrameTest.java:14)
This same test works just fine with 1.1.6.
In the zip attach below, there is a very short class that demonstrates a
bug that was introduced on Solaris between 1.1.6 and 1.1.7. Running the
test class and displaying the program remotely on a PC under Hummingbird
Exceed 6.0.0.1 on WinNT 4.0 SP3, the following exception occurs
java.lang.NullPointerException
at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:113)
at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:87)
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:117)
at java.awt.Frame.addNotify(Frame.java:203)
at java.awt.Window.pack(Window.java:123)
at SetIconFrameTest.main(SetIconFrameTest.java:14)
This same test works just fine with 1.1.6.
- duplicates
-
JDK-4169229 nullpointerexception in AWT when application sets IconImage
- Closed