When running the CVS version of classpath with jamvm and use ./tools/appletviewer http://www.btinternet.com/~se16/js/mapproj.htm to start the applet, it starts as it should and seem to work, except for one issue. The selectors to change projection and position do not work. When I use the first two, nothing changes, and when I try to set values into the input fields (for example 180 as the last value) and press 'You choose', I get an exception: Exception during event dispatch: java.lang.NegativeArraySizeException at MapProjections.newmap(MapProjections.java:285) at MapProjections.paint(MapProjections.java:106) at MapProjections.update(MapProjections.java:131) at gnu.java.awt.peer.gtk.GtkComponentPeer.updateComponent(GtkComponentPeer.java:344) at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent(GtkComponentPeer.java:292) at gnu.java.awt.peer.gtk.GtkPanelPeer.handleEvent(GtkPanelPeer.java:64) at java.awt.Component.dispatchEventImpl(Component.java:5068) at java.awt.Container.dispatchEventImpl(Container.java:1741) at java.awt.Component.dispatchEvent(Component.java:2322) at java.awt.EventQueue.dispatchEvent(EventQueue.java:474) at java.awt.EventDispatchThread.run(EventDispatchThread.java:95) The applet work as it should with SUN JDK 1.5.
The applet doesnt load for me. the window comes up, but none of the menus or buttons work. I will look into this.
Created attachment 11662 [details] shows the bug.
I partially fixed this applet. I have not fixed the exception yet. Attached is a testcase.
Fixed. Mauve test committed as well.