Fix for Java 6 Update 65 on OSX