Java SE version 6 was released in December 2006.
The following code compiles fine in Java 1.6 but fails to compile in Java 1.7. Why? The relevant part of the code …