mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
fix class search for which classes created by lambda method. #302
This commit is contained in:
1 parent
775b342ab3
commit
5b52b1b9d9
1 file changed
+3
-1
@@ -90,7 +90,9 @@ public class SearchUtils {
|
|||||||
if (StringUtils.isEmpty(classPattern)) {
|
if (StringUtils.isEmpty(classPattern)) {
|
||||||
classPattern = isRegEx ? ".*" : "*";
|
classPattern = isRegEx ? ".*" : "*";
|
||||||
}
|
}
|
||||||
classPattern = StringUtils.replace(classPattern, "/", ".");
|
if (!classPattern.contains("$$Lambda")) {
|
||||||
|
classPattern = StringUtils.replace(classPattern, "/", ".");
|
||||||
|
}
|
||||||
return isRegEx ? new RegexMatcher(classPattern) : new WildcardMatcher(classPattern);
|
return isRegEx ? new RegexMatcher(classPattern) : new WildcardMatcher(classPattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user