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?
Please sign in to leave a comment.
Please share the project files (.idea directory and .iml files): https://intellij-support.jetbrains.com/hc/articles/206869619.
Shared.
What's the file name?
`intellij-115000105230.tgz` (matching the post #), sent via email.
Can't find anything in email. Not sure where you sent it. Please upload here: https://intellij-support.jetbrains.com/hc/articles/206869619.
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.
Sent in via Email. `intellij-115000105230-2.tgz`.
Source level in all four POM files seems to be v1.7
Thanks for all the details, please follow https://youtrack.jetbrains.com/issue/IDEA-169301 for updates.