Egon Willighagen wrote: >>> Nico, what did you want to change? >>> >> I tried the java.net version of vecmath to fix a compilation problem. >> >> It seems it wasn't a good idea. I am reverting my changes. >> > > I'm not getting this. What compile fix did you have? >
René Kanters had a problem compiling Jmol on his computer because he had the "official" vecmath library installed on his computer. The problem is that between the version we are using (1.2) and the current version (1.4), they made some API changes that are not fully backward compatible (and even incompatible): - Tuple3f now implements Cloneable, but defines the clone() method as not throwing CloneNotSupportedException. - org.jmol.adapter.smarter.Atom implements Cloneable, extends Tuple3f (Point3f to be accurate) and calls super.clone() With version 1.2, super.clone() is defined as throwing CloneNotSupportedException, so we need to catch it in the cloneAtom() method. With version 1.4, super.clone() is defined as *not* throwing CloneNotSupportedException, so we mustn't catch this exception So there's no solution working for both 1.2 and 1.4 Nico ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
