It seems that Frame.setIconImage() is broken in current gcj-gui-branch-20050128, fresh cvs checkout on 20050209. Seems to be a regression, because the same code used to work (at least, didn't die instantly, never really tested to iconify the windows) under gcc-4.0-20050130 snapshot.
Testcase attached; I create two windows to allow easy testing whether the call fails due to Toolkit initialization problems (showing the Frame first should ensure that Image loading works). However, both variants fail with for the gui branch. -- Summary: Frame.setIconImage broken Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: AWT AssignedTo: fitzsim at redhat dot com ReportedBy: hendrich at informatik dot uni-hamburg dot de CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19880