Bugs item #806067, was opened at 2003-09-14 18:39
Message generated for change (Comment added) made by michaelthoward
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=806067&group_id=23629
Category: Applet
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Michael T Howard (michaelthoward)
Assigned to: Egon Willighagen (egonw)
Summary: CMLStack verify error
Initial Comment:
There is some type of unusual problem with
cdk/io/cml/CMLStack. Throws a VerifyError under IE.
ReaderFactory: CMLReader
java.lang.VerifyError:
org/openscience/cdk/io/cml/CMLStack
at
org/openscience/cdk/io/cml/CMLHandler.<init>
at org/openscience/jmol/io/CMLReader.read
at
org/openscience/jmol/FileManager.openReader
at
org/openscience/jmol/FileManager.openStringInline
at
org/openscience/jmol/DisplayControl.openStringInline
at JmolApplet.loadInline
at JmolApplet.initApplication
at JmolApplet.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at
com/ms/applet/AppletPanel.processSentEvent
at
com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
Problem goes away if you just use a java.util.Stack
instead of subclassing.
Looks like a jvm bug to me ... need to find a workaround.
I assigned this to Egon, but I'll keep looking at it.
----------------------------------------------------------------------
>Comment By: Michael T Howard (michaelthoward)
Date: 2003-09-15 05:38
Message:
Logged In: YES
user_id=608250
I reimplemented CMLStack. It no longer extends java.util.Stack
Miguel
----------------------------------------------------------------------
Comment By: Michael T Howard (michaelthoward)
Date: 2003-09-15 04:09
Message:
Logged In: YES
user_id=608250
A Sun bug ... fixed in 1.2 ... we need a workaround for 1.1
jvms
------------
http://developer.java.sun.com/developer/bugParade/bugs/1263765.html
Bug Id 1263765
Votes 0
Synopsis Lots of Vector methods are final
Category java:classes_util
Reported Against 1.0.2, 1.1, 1.1.4
Release Fixed 1.2beta1
State Closed, fixed
Related Bugs 4041340, 4089588
Submit Date Aug 15, 1996
Description
A large number of methods in Vector are final. This means
that I can't
create
a new kind of Vector which tracks add/removes for some reason.
A large number of methods in Vector are final. This means
that I can't
create
a new kind of Vector which tracks add/removes for some reason.
Workaround
None.
Evaluation
This is a RFE since the implementation agrees with the spec.
But why are all
these methods final? Is there (or was there) an efficiency
issue?
?????????????????
Methods were final for historical reasons. This has been
fixed in 1.2.
[EMAIL PROTECTED] 1997-11-14
----------------------------------------------------------------------
Comment By: Michael T Howard (michaelthoward)
Date: 2003-09-15 03:50
Message:
Logged In: YES
user_id=608250
There is definately something wrong with the java.util.Stack
class.
ns jvm 1.1.5 is throwing an error too ... and the information is
a little more helpful:
Symantec Java! ByteCode Compiler Version 210.065
Copyright (C) 1996-97 Symantec Corporation
ReaderFactory: CMLReader
# Verifier error org/openscience/cdk/io/cml/CMLStack:
Class org/openscience/cdk/io/cml/CMLStack overrides final
method toString.()Ljava/lang/String;
java.lang.NoClassDefFoundError:
org/openscience/cdk/io/cml/CMLStack
So, this means we must come up with a workaround.
Miguel
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=806067&group_id=23629
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers