GWT Facet & Source Level

Answered

I have a client that has some GWT projects, and both myself and one of the client's onsite developers are using IntelliJ (the rest of the team is using Eclipse). The whole team is using JDK 8, but source level of JDK7, since the version of GWT they use doesn't support JDK 8 syntax.

If I look at a file containing a generics diamond, my IntelliJ warns me that the GWT Facet's source level doesn't allow diamonds:

The modules are all set to language level 7. I don't see a setting in the GWT Facet anywhere. The quick fix doesn't help. And yet, my colleague does not see the same warning, so somehow he isn't having the same problem. What do I need to change?

9 comments
Comment actions Permalink

Please share the project files (.idea directory and .iml files): https://intellij-support.jetbrains.com/hc/articles/206869619.

0
Comment actions Permalink

What's the file name?

0
Comment actions Permalink

`intellij-115000105230.tgz` (matching the post #), sent via email.

0
Comment actions Permalink

Can't find anything in email. Not sure where you sent it. Please upload here: https://intellij-support.jetbrains.com/hc/articles/206869619.

0
Comment actions Permalink

I did, yes -- followed the instructions on that page to send an email to intellij-support@jetbrains.com -- it's 27KB, so well under the 2MB line.

0
Comment actions Permalink

Sent in via Email. `intellij-115000105230-2.tgz`.

0
Comment actions Permalink

Source level in all four POM files seems to be v1.7

0
Comment actions Permalink

Thanks for all the details, please follow https://youtrack.jetbrains.com/issue/IDEA-169301 for updates.

0

Please sign in to leave a comment.