Java 1.7 compilance problem