A deadlock sometimes happens in lexer infrastructure if MakefileLanguageProvider has static final field assigned from new MakefileLanguageHierarchy.language().
I've already fixed it by removing the static field, but still want to let you know about the potential problem.
Steps to reproduce:
- update to changeset 7b34677e168c
- rebuild netbeans
- run tests of cnd.script module
- deadlock happens (not every time but quite often)
Thread dump is attached.
Created attachment 93589 [details]
The code is changed significantly the LanguageHierarchy no longer calls LanguageManager so hopefully the deadlock should not occur. Please reopen if the problem would still be present.