Intellij-community compilation error

Information:Using javac 1.6.0_20 to compile java sources
Information:java: Errors occurred while compiling module 'java-tests'
Information:Modules "jps-plugin-system", "remote-servers-git", "main_pycharm_ce", "python-pydev", "python-rest" and 23 others were fully rebuilt due to project configuration/dependencies changes
Information:Compilation completed with 2 errors and 428 warnings in 2 min 29 sec
Information:2 errors
Information:428 warnings
G:\intellij-community\java\java-tests\testSrc\com\intellij\execution\BaseConfigurationTestCase.java
Error:(172, 31) java: G:\intellij-community\java\java-tests\testSrc\com\intellij\execution\BaseConfigurationTestCase.java:172: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,com.intellij.execution.configurations.RunConfiguration
G:\intellij-community\java\java-tests\testSrc\com\intellij\execution\ConfigurationRefactoringsTest.java
Error:(257, 48) java: G:\intellij-community\java\java-tests\testSrc\com\intellij\execution\ConfigurationRefactoringsTest.java:257: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,com.intellij.execution.configurations.RunConfiguration


It is freshly downloaded master, any ideas?
Editor does not show any red marks.

3 comments
Comment actions Permalink

You're using JDK 1.6.0_20 to compile, which is an old and buggy version. Please update to the latest JDK 6 build.

0
Comment actions Permalink

Another problem, a lot of iml files changed themself from:

    <orderEntry type="module-library">
      <library name="trilead-ssh2">
        <CLASSES>
          <root url="jar://$MODULE_DIR$/../lib/trilead-ssh2-build213.jar!/" />
        </CLASSES>
        <JAVADOC />
        <SOURCES>
          <root url="file://$MODULE_DIR$/../trilead-ssh2-build213/src" />
        </SOURCES>
      </library>
    </orderEntry>

to:

    <orderEntry type="module-library">
      <library name="trilead-ssh2">
        <CLASSES>
          <root url="jar://$APPLICATION_HOME_DIR$/plugins/cvs/lib/trilead-ssh2-build213.jar!/" />
        </CLASSES>
        <JAVADOC />
        <SOURCES>
          <root url="file://$APPLICATION_HOME_DIR$/plugins/cvs/trilead-ssh2-build213/src" />
        </SOURCES>
      </library>
    </orderEntry>

which results in compilation failure. Not sure how to reproduce it yet, but it happened twice already.

IDEA 13.1

0

Please sign in to leave a comment.