Skip to content

Commit

Permalink
Fix previous method name parser change
Browse files Browse the repository at this point in the history
  • Loading branch information
jbachorik committed Aug 26, 2018
1 parent f6293dc commit 78e55fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/share/classes/com/sun/btrace/runtime/OnMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public void setMethod(String method) {
} else {
this.methodAnnotationMatcher = false;
}
firstChar = method.isEmpty() ? 0 : method.charAt(0);
if (firstChar == '/' && Constants.REGEX_SPECIFIER.matcher(method).matches()) {
this.methodRegexMatcher = true;
method = method.substring(1, method.length() - 1);
Expand Down

0 comments on commit 78e55fc

Please sign in to comment.