jtulach commented on code in PR #9603:
URL: https://github.com/apache/netbeans/pull/9603#discussion_r3948748445


##########
ide/projectui/test/unit/src/org/netbeans/modules/project/ui/ProjectUtilitiesTest.java:
##########
@@ -144,7 +144,6 @@ protected void setUp () throws Exception {
                 "org.openide.util.lookup.MetaInfServicesLookup.beforeLookup",
                 "org.netbeans.modules.project.ui.OpenProjectList.close",
                 
"org.netbeans.modules.project.ui.OpenProjectList.doOpenProject");
-        RestrictThreadCreation.forbidNewThreads(false);

Review Comment:
   - I'd vote for simple solution, e.g. delete
   - Possibly I can replace the check with something similar and simple to 
implement
      - take snapshot of all existing threads before calling the method
      - take snapshot of all threads after calling method
   - if there is a new one, report a failure
   - not 100% the same, but good enough



-- 
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

Reply via email to