Java News from Wednesday, September 14, 2005

IBM's developerWorks has published my latest article, An early look at JUnit 4. This is a fast introduction to the next version of the popular unit testing framework. JUnit 4 takes advantage of Java 5 features like annotations, varargs, and generics to simplify unit testing still further. If you're committed to Java 5, then JUnit 4 is big leap forward. Unfortunately while JUnit4 is backward and forwards compatible with JUnit 3 test suites and test runners, it's completely incompatible with Java 1.4 and earlier so I'm afraid most fo us will be sticking with JUnit 3 for some years to come.


Apple's posted Java 1.3.1 and 1.4.2 Release 2 for Mac OS X 10.4 (Tiger). "Java 2 Platform Standard Edition (J2SE) 1.3.1 and 1.4.2 Release 2 improves functionality of J2SE 1.4.2 on Mac OS X v. 10.4 Tiger and updates J2SE 1.3.1 for better interaction with J2SE 1.4.2. Release 2 includes Java 2 Platform Standard Edition versions 1.3.1_16 and 1.4.2_09." Apple has also posted a Java Security Update for Mac OS X 10.3.9 and later.


In related news the recent QuickTime 7.0.2 update seems have disabled virtual machine sharing for a lot fo users including myself. The symptom is a message stating "HotSpot not at correct virtual address. Sharing disabled." every time you run anything with Java 5. Various fixes have been suggested, but none have proven effective. Another update from Apple may be required here.