migration to Java 11: specify explicit import for com.intellij.openapi.module.Module...
authorNikolay Chashnikov <Nikolay.Chashnikov@jetbrains.com>
Mon, 10 Aug 2020 16:33:52 +0000 (19:33 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Mon, 10 Aug 2020 18:06:51 +0000 (18:06 +0000)
commit14c1a61c0a936c5c32e36ea3a8dc7f1535a640d2
tree6966fea941605b7da204588c7325758b8d0461c8
parentfd569e62d6ff3fc1d73c3d0efd8efcabc37fb3eb
migration to Java 11: specify explicit import for com.intellij.openapi.module.Module (IDEA-241075)

If a wildcard import is used, javac resolves 'Module' reference to 'java.lang.Module' when compiling code under Java 11.

GitOrigin-RevId: d00174c8235b3c5491447be25cb4da81344558ae
java/idea-ui/src/com/intellij/ide/util/projectWizard/importSources/impl/ProjectFromSourcesBuilderImpl.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/ModuleStructureConfigurable.java
java/java-tests/testSrc/com/intellij/java/psi/resolve/ResolveClassInModulesWithDependenciesTest.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/AbstractModuleDataService.java
platform/lang-api/src/com/intellij/ide/util/projectWizard/ModuleBuilder.java
platform/lang-impl/src/com/intellij/ide/projectView/impl/nodes/ProjectViewProjectNode.java
platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/actions/ModuleDeleteProvider.java
platform/lang-impl/src/com/intellij/platform/templates/TemplateModuleBuilder.java
platform/projectModel-impl/src/com/intellij/openapi/module/impl/ModuleManagerImpl.java
plugins/gradle/java/src/service/project/wizard/AbstractGradleModuleBuilder.java