From: SourceForge.net <no...@so...> - 2004-01-14 08:37:28
|
Bugs item #872256, was opened at 2004-01-07 02:14 Message generated for change (Settings changed) made by pfarner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105083&aid=872256&group_id=5083 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Preston Pfarner (pfarner) Assigned to: Nobody/Anonymous (nobody) Summary: Incompatibility with Java SDK 1.5 Initial Comment: I've been using HartMath with another project, which has in turn been ported to JDK 1.5. There are a few minor problems with HartMath under JDK 1.5, however, and the fix doesn't break older compilers. JDK 1.5 is still in prerelease*, but some aspects of its spec are firm. For instance, the keyword "enum" has been added. Since HartMath uses "enum" as a variable name in some files, this naturally leads to compilation errors. In the current hartmath2 CVS tree, these files are affected: src/bsh/Parser.java src/gov/noaa/pmel/sgt/dm/Collection.java src/org/hmath/servlet/HMTag.java Fix: Replace all occurrences of variables named "enum" with "enumer" or some other safe name. There are only 2-3 occurrences per file. It's a minor change, and it's certainly not going to be needed for the masses for a while, but it might as well go in earlier as later. * 1.5: see http://java.sun.com/developer/earlyAccess/j2sdk150_alpha/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105083&aid=872256&group_id=5083 |