尽管在所有项目设置中(包括在 File -> Project Structure -> Project :: Project SDK
中)都指定了 JDK 1.7,但是在尝试编译一些使用菱形运算符的简单 Java 7代码时,IntelliJ 13
会产生以下错误:
java: diamond operator is not supported in -source 1.5
(use -source 7 or higher to enable diamond operator)
在配置中是否还有其他地方应该启用预期的 -source 7
选项?