-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Encountering a method signature conflict in test classes that extend MavenImportingTestCase after upgrading the IntelliJ Platform to 2025.1.6
The following errors are thrown during compilation:
'setUp()' in 'com.intellij.maven.testFramework.MavenImportingTestCase' clashes with 'setUp()' in 'com.intellij.maven.testFramework.MavenTestCase'; overridden method does not throw 'java.lang.Exception'.
'setUpFixtures()' in 'io.openliberty.tools.intellij.lsp4jakarta.it.core.BaseJakartaTest' clashes with 'setUpFixtures()' in 'com.intellij.maven.testFramework.MavenTestCase'; overridden method does not throw 'java.lang.Exception'
'tearDown()' in 'com.intellij.maven.testFramework.MavenImportingTestCase' clashes with 'tearDown()' in 'com.intellij.maven.testFramework.MavenTestCase'; overridden method does not throw 'java.lang.Exception'
This worked without issue in earlier platform versions. The change in method signature (likely due to removal of throws Exception in the superclass) causes incompatibility with existing test base classes.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status