Java News from Wednesday, June 22, 2005

Sleepycat Software has released Berkeley DB Java edition 2.0.42. Berkeley DB JE is an open source, non-relational embedded database written in Java. The data is exposed through "a Java Collections-style interface, as well as a programmatic interface similar to the Berkeley DB API." New features in 2.0 include:

Java 1.4.2 or later is required.

Tom Copeland has released PMD 3.2, an open source tool for automatically checking Java code for various classes of bugs. Version 3.2 adds three new rules:

I tested this out on XOM. Surprisingly it found a lot of unread private fields, unused local variables, empty statements, and unnecessary imports that I thought Eclipse was checking for. In one case, an unused private field represented a real bug. On the other hand, the unused private methods check generated a lot of false positives.