Java News from Wednesday, October 19, 2005

Jeff Chapman has posted the third release candidate of BrowserLauncher2, a free-as-in-speech (LGPL) Java library that loads a URL into the user's default browser on Mac, Windows, Unix, and Linux. has released lint4j 0.9.0, a free-beer "static Java source code analyzer that detects locking and threading issues, performance and scalability problems, and checks complex contracts such as Java serialization by performing type, data flow, and lock graph analysis." Version 0.9.0 fixes bugs and adds warnings for empty method implementations in an abstract class and an abstract method shadowing another abstract method in a superclass. I tested this out on the current Jaxen code base. It found a couple of places where I could remove method calls in favor of direct field access, but nothing too major or important. I also tested it on the Apache Commons Math project. Here it found quite a bit more, especially a number of issues with incorrect handling of Serializable.

Lorenzo Bettini has released GNU Source-highlight 2.2, a GPL'd tool for reading Java, C/C++, Prolog, Perl, PHP3, Flex, ChangeLog, JavaScript, LUA, CAML, SML, Log, and Python code and translating them into syntax highlighted HTML and XHTML. Binaries are available for Unix, and it should compile on Windows with the appropriate libraries. This is mostly a bug fix release.