Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Evgeny Mandrikov
asm
Commits
e1d376d0
Commit
e1d376d0
authored
Apr 02, 2022
by
Justin Blank
Browse files
Add descriptor to exception in Type#getTypeInternal
Add the incorrect descriptor to the exception for ease of debugging
parent
04f3f8b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
asm/src/main/java/org/objectweb/asm/Type.java
View file @
e1d376d0
...
...
@@ -440,7 +440,7 @@ public final class Type {
case
'('
:
return
new
Type
(
METHOD
,
descriptorBuffer
,
descriptorBegin
,
descriptorEnd
);
default
:
throw
new
IllegalArgumentException
();
throw
new
IllegalArgumentException
(
"Invalid descriptor: "
+
descriptorBuffer
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment