Re: Division by zero exception when running Swing program with /usr/bin/gij-4.3
[Sorry for the late reply, I've missed you post]
Hello Michael
> I tried the application with current gij-4.3 and jamvm. Both worked fine
> for me. Can you please try to reproduce?
I was able to reproduce problems with bot jamvm and gij-4.3. With jamvm
I keep getting the "division by zero" exception. With gij, all I get
now, is a grey window without any exception, but also without any
elements.
I used "$JAVA -cp ./ Umlet" [1] to launch the program and compiled the
source with sun-java. Oddly enough, trying to compile with gcj now,
leads to a compiler error
ERROR in Umlet.java (at line 38)
private Hashtable<String, DrawPanel> _paletteHashtable;
^^^^^^^^^
The type Hashtable is not generic; it cannot be parameterized
with arguments <String, Umlet.DrawPanel>
You can view screenshots of the application run with the different VMs
at:
http://www.mesing.de/debian/screenshot-gij4-3.png
http://www.mesing.de/debian/screenshot-sunjava.png
http://www.mesing.de/debian/screenshot-jamvm.png
Best regards
Ben
[1] I moved the class to the default package.
--
Please do not send any email to ben-ml@gmx.net -- all email not
originating from the mailing list will be deleted. Use the reply to
address instead.
Reply to: