switch to java 6 rules