sdedic commented on code in PR #4317:
URL: https://github.com/apache/netbeans/pull/4317#discussion_r912344064
##########
platform/o.n.bootstrap/test/unit/src/org/netbeans/ModuleManagerTest.java:
##########
@@ -2911,15 +2918,15 @@ public void testAutoloadFragmentEnablesHostAndPeers()
throws Exception {
c.checkHostAndOtherFragmentsLoaded(c.fragmentAutoload);
}
- public void testAutoloadHostEnablesAllFragments() throws Exception {
+ public void testAutoloadHostEnablesEagerFragments() throws Exception {
ModsCreator c = new ModsCreator();
createTestJAR(data, jars, "client-module-depend-host",
"client-module");
c.loadModules();
Module client = c.mgr.create(new File(jars,
"client-module-depend-host.jar"), null, false, false, false);
c.mgr.enable(client);
- c.checkHostAndOtherFragmentsLoaded(c.host);
+ c.checkHostAndOtherFragmentsLoaded();
Review Comment:
This is the real change in behaviour: some fragments are no longer eagerly
loaded (if they are not eager).
--
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