Skip to content

Commit

Permalink
Merge pull request #24106 from evanchooly/badClassFormat
Browse files Browse the repository at this point in the history
Rectify bad class formats in some cases
  • Loading branch information
evanchooly authored Mar 4, 2022
2 parents 0b861d7 + b7ba58b commit e1a7973
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ private void collectMethods(ClassInfo classInfo) {

private String desc(String name) {
String s = name.replace(".", "/");
s = s.startsWith("L") || s.startsWith("[") ? s : "L" + s + ";";
return s;
return s.startsWith("[") ? s : "L" + s + ";";
}

private void descriptors(MethodInfo method, StringJoiner joiner) {
Expand Down

0 comments on commit e1a7973

Please sign in to comment.