posted 9 years ago
That's bizarre. Correction: it doesn't even compile. (IntelliJ doesn't seem to be aware of this though, as it didn't highlight it)
I'm running JDK 1.8.0_60.
I thought it could have been an issue with IntelliJ, so I tried compiling it from the command line and got the same error:
OCA Java 6, OCP Java 6, OCP Java 8