I implemented CMLStack from scratch so that it no longer inherits from
java.util.Stack

Methods which were passing around a java.util.Stack are now using CMLStack.

cdk compiles fine
applet v8 runs fine
this was also part of the problem I reported previously with estron.cml


Miguel

> Egon,
>
> I have more info regarding the problems with cdk/io/cml/CMLStack
>
> Many methods of Vector were mistakenly marked final before JVM 1.2 (Sun
> Bug info below). java.util.Stack extends Vector. Therefore, we cannot
> override toString and expect the code to run on 1.1 jvms.
>
> Let me know what you are thinking.
>
> Miguel
>
> ------------
>
> 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
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Cdk-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/cdk-devel


--------------------------------------------------
Miguel Howard                   [EMAIL PROTECTED]
c/Pe�a Primera 11-13 esc dcha 6B
37002 Salamanca
Espa�a Spain
--------------------------------------------------
telefono casa 923 27 10 82 movil 650 52 54 58
--------------------------------------------------
To call from the US dial    9:00 am Pacific US   =
home 011 34 923 27 10 82   12:00 noon Eastern US =
cell 011 34 650 52 54 58    6:00 pm Spain
--------------------------------------------------




-------------------------------------------------------
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

Reply via email to