neilcsmith-net commented on issue #7091: URL: https://github.com/apache/netbeans/issues/7091#issuecomment-2077554343
After far too much stepping through on the debugger I think I've narrowed down to a regression caused by #6743 At first thought was caused by the changes at https://github.com/apache/netbeans/pull/6743/commits/da719272474b35d9c736c3242f4f19fb0a529aeb#diff-5504532548e9970b0fdf2f4436defb1b53d234a604b1c0872466db36139ab685R134 Ergonomics ignores the returned restarter, which is why the Maven tab / wizard loops and the modules never enable (another issue!). However, forcing the load breaks because `libs.nbjavacapi` cannot be loaded due to the fragment host already being enabled. As far as I can tell, the `Options / Java / Ant` panel causes ergonomics to enable the `extide` cluster, but also a few modules from the `java` cluster including `java.source.base`. This triggers `libs.javacapi` to load without `libs.nbjavacapi`. Attempting to open the Maven tab in the Java cluster then fails because `libs.nbjavacapi` cannot be loaded. Simplest fix seems to be to add back `OpenIDE-Module-Recommends: org.netbeans.libs.nbjavac` into `java.source.base`. That might negate the purpose of #6743. cc/ @jlahoda -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
