The jdk source now makes use of the diamond operator, try with resources, underscore numeric literals and other Java 7 language features the so Netbeans projects need to be updated. I've posted a very trivial webrev at: http://cr.openjdk.java.net/~mduigou/7015783/ Comments/review welcome! Mike