Code problem with IntelliJs JUnit plugin

Hey Jetbrainers,

Just updating my TestNG plugin to work with Demetra and noticed the
following anomaly. We're making use of some classes in the JUnit plugin
and I've just noticed they conflict with themselves which IDEA is
showing as an error in my project.

com.intellij.execution.junit.ModuleBasedConfiguration defines a clone()
method that returns an Object but a parent class RunConfigurationBase
defines clone() that returns RunConfiguration.

found : java.lang.Object
required: com.intellij.execution.configurations.RunConfiguration
public class TestNGConfiguration extends ModuleBasedConfiguration
implements RunJavaConfiguration

I would have thought this would be come up in your own code? Has this
changed recently at all?

Please sign in to leave a comment.