[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/27040] New: Incorrect parsing of applet parameters
From: |
pere at hungry dot com |
Subject: |
[Bug classpath/27040] New: Incorrect parsing of applet parameters |
Date: |
5 Apr 2006 11:21:53 -0000 |
When testing the Java applet found on
http://elib.cs.berkeley.edu/gis/examples/world.html, the standalone
appletviewer seem to fail to read the applet parameters, and show up
without any map layers to select. I've patched the non-native gcjappletviewer
to allow me to select jvm at run time. This is the output when I run it:
JAVA=cacao gcjappletviewer
http://elib.cs.berkeley.edu/gis/examples/world.html
Exception in thread "main" java.lang.NumberFormatException: unable to parse
double
at java.lang.VMDouble.parseDouble (Native Method)
at java.lang.Double.parseDouble (Double.java:332)
at java.lang.Double.valueOf (Double.java:278)
at viewer.ui.Zoom.initScales (Zoom.java:260)
at viewer.ui.Zoom.init (Zoom.java:268)
at viewer.ui.BehaviorBar.init (BehaviorBar.java:119)
at viewer.ui.Controller.init (Controller.java:77)
at viewer.ui.Viewer.start (Viewer.java:277)
at gnu.gcjwebplugin.StandaloneAppletWindow.<init>
(StandaloneAppletWindow.java:190)
at gnu.gcjwebplugin.StandaloneAppletViewer.<init>
(StandaloneAppletViewer.java:174)
at gnu.gcjwebplugin.AppletViewer.main (AppletViewer.java:290)
I suspect the param parser need to be extended to cope with the class creation
format used in the HTML page.
--
Summary: Incorrect parsing of applet parameters
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pere at hungry dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27040
- [Bug classpath/27040] New: Incorrect parsing of applet parameters,
pere at hungry dot com <=