Netbeans needs some extra hints to work with Java 8