refs #40 works with Java 1.6