False positive error for Java syntax in editor

Hi,

I have an issue that I have reduced to the minimal example shown in the attached image.
The code below compiles and runs fine.
If I make the interface non-generic the error disappears.
This happens in 15.0 and 14.1.5.

Screen.png

3 comments
Comment actions Permalink

Hi,

what is the language level and what is the java version used in the project?

Thanks,
Anna

0
Comment actions Permalink

The language level is set to Java 8.

The JDK is 1.8.0_66 for Windows x86_64.

0

Please sign in to leave a comment.