Commit Graph

3 Commits

Author SHA1 Message Date
Nikolay Chashnikov
055febd921 [java rd] use fake root packages for modules included in com.intellij.java.frontend plugin (IDEA-322563)
We need to have root packages for module xml files in plugin model v2, but if we specify packages with real classes in these modules, they'll fail to load with "must not be requested from main classloader" error, because inter-module dependencies aren't specified for these files. If we specify module dependencies, the big 'com.intellij.java' plugin will fail to load because it isn't migrated to plugin model v2 yet and includes contents of these module descriptors via xi:include tag. So it seems that we need to use fake packages without real classes until 'com.intellij.java' plugin is migrated to plugin model v2.

Check in InterfaceExtensionImplementationClassResolver is suppressed for 'com.intellij.java.frontend' plugin as well for now.

GitOrigin-RevId: 7b2321835becc9f4589ddae09a40160bf735044e
2023-11-06 19:58:09 +00:00
vladimir.petrenko
728987fd11 RDCT-555 Sync language level to the client: fix "Root package for module ... must be ..." test failure
(cherry picked from commit dad61f9329d3a35ab76617e6514f067b52cfdf55)

IJ-MR-116786

GitOrigin-RevId: 7f8bb2c62e7a33daf8030293620e5801cf1eb7dd
2023-11-03 15:17:04 +00:00
vladimir.petrenko
bd349939e2 RDCT-555 Sync language level to the client: modules and dependencies refactor
remove unnecessary dependency on kotlin serialization module from `intellij.platform.core` module (it is an OpenAPI module, some test failed)

move all changes from `intellij.java.frontback.psi` module to `intellij.java.frontback.psi.impl` module so that there will no be a dependency on kotlin serialization modules in the `intellij.java.frontback.psi` module because `intellij.java.frontback.psi` module is an OpenAPI module (some test failed)

(cherry picked from commit a3fa1ab533734442fb6691b0162b3f930a66d9bc)

IJ-MR-116786

GitOrigin-RevId: 81bf0153f9528d9ec58e6b557fa0b7aee80a2c46
2023-11-03 15:16:59 +00:00