mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for AIOOBE in NameUtil matching
This commit is contained in:
@@ -415,7 +415,12 @@ public class NameUtil {
|
||||
return false;
|
||||
}
|
||||
|
||||
return myMatcher.matches(name, myPattern);
|
||||
try {
|
||||
return myMatcher.matches(name, myPattern);
|
||||
}
|
||||
catch (ArrayIndexOutOfBoundsException e) {
|
||||
throw new RuntimeException("Name=" + name + "; pattern=" + myPattern.getPattern() , e);
|
||||
}
|
||||
}
|
||||
|
||||
private static String preparePattern(String pattern) {
|
||||
|
||||
Reference in New Issue
Block a user