mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
some diagnostics for IDEA-91650 Threadlock
This commit is contained in:
+3
@@ -77,6 +77,9 @@ public class AbstractCustomLexer extends LexerBase {
|
||||
for (TokenParser tokenParser : myTokenParsers) {
|
||||
if (tokenParser.hasToken(myPosition)) {
|
||||
tokenParser.getTokenInfo(myCurrentToken);
|
||||
if (myCurrentToken.getEnd() <= myCurrentToken.getStart()) {
|
||||
throw new AssertionError(tokenParser);
|
||||
}
|
||||
tokenFound = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user