I don't think the mac community is going to be able to sway this topic, but if the only "Java 2" change is a move to collections, it should be pretty straightforward to grep the package names from "java.util.Iterator" to "com.sun.java.util.collections.Iterator", then use the Collections 1.1 from Sun; this lib is a JDK 1.1 implementation of the Java 2 collections package. It would be a big help to import the class names explicitly at the top of the source file rather than the wildcard import. This is not the current practice, but it is a good practice to follow regardless. Any other Java2-only features in a4? -matt Bishop -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 1:25 PM To: Jess Mailing List Subject: JESS: Jess and "Java 2" Hi Folks, The 6.0a4 release is drawing nigh (should go out by this Friday.) My current working version requires Java 2. I know we've talked about this before, but given that it's now 2001, and Jess 6 final won't be out for some time yet, what's the consensus on requiring Java 2? - Is it OK? We'd continue to have 4.x and 5.x available to support Java 1.0 and 1.1, respectively. My opinion: yes, it's OK for 6.0 to not support JDK 1.1. I would restrict myself to JDK 1.2.2 features, no APIs newer than that. - Should we support it, or embrace it? In particular, should (for example) all use of Enumeration be replaced by Iterator? My opinion: we should embrace it. As long as we're changing APIs all around, we might as well make these modernizations too. By the way, 6.0a4 is a speed daemon. The new priority-queue based agenda-handling machinery is great, and I've also replaced the linear fact list with a Map, meaning that the trivial app that asserts 100000 facts into an empty rule base becomes much, much faster. I've got some other tricks up my sleeve, too. One feature regression: I'm removing the (set-fact-duplication) method. If you were using (set-fact-duplication TRUE) just to make tihngs run faster, it's no longer necessary; just delete it. If you really did want to see duplicate facts -- well, complain now, and I might do something about it. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 --------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] ---------------------------------------------------------------------
