You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/07 19:30:28 UTC

[GitHub] [netbeans] vieiro commented on pull request #3717: java.lsp.server test improvements

vieiro commented on pull request #3717:
URL: https://github.com/apache/netbeans/pull/3717#issuecomment-1061054338


   @sdedic ,
   
   I've been taking a look at the deadlock attached to #3716 , it seems this line (corresponding to "Thread-1" in the jstack):
   
   ```
   CacheFolderProvider.getCacheFolderForRoot(Utilities.toURI(Places.getUserDirectory()).toURL(), EnumSet.noneOf(CacheFolderProvider.Kind.class), CacheFolderProvider.Mode.EXISTENT);
   
   ```
   ( [see](https://github.com/apache/netbeans/blob/013691b04f0258ff1213c7c826df2389b84e84b6/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java#L226))
   
   Is invoking some "synchronized" methods in "Main" (i.e. `- locked <0x00000000fea93238> (a java.lang.Class for org.netbeans.core.startup.Main)`) that are causing trouble with the test itself, but it's difficult to say (there're three threads involved).
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists