3 Commits
Author SHA1 Message Date
Nikolay Chashnikov 3c560d0268 [java] cleanup: get rid of fake packages in content modules of Java Frontend plugin (IDEA-366600)
Fake packages were used to ensure that the main plugin classloader is used to load the classes from content modules. Now the same can be achieved explicitly with loading="embedded" attribute. This is also needed to ensure that the classpath for content modules can be properly specified (this is needed for IJPL-165692).

Also, it's possible to use auto-layout for the plugin, so there is no need to specify it explicitly.

GitOrigin-RevId: 6a75b4868b796215018d230949752bc978c60476
2025-01-31 17:23:22 +00:00
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
Mikhail Pyltsin e23e60a0eb [java-rd] IDEA-322563 Improve editing experience in Remote Dev for Java
- lexer, parser, IElementType for frontend

GitOrigin-RevId: 8842d018eab3ca17749660520820174d4f792437
2023-09-13 09:09:01 +00:00