mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Added support for Java 8
This commit is contained in:
@@ -1202,7 +1202,7 @@ public class CheckMethodAdapter extends MethodVisitor {
|
||||
checkIdentifier(name, begin, slash, null);
|
||||
begin = slash + 1;
|
||||
} while (slash != max);
|
||||
} catch (IllegalArgumentException _) {
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
throw new IllegalArgumentException(
|
||||
"Invalid "
|
||||
+ msg
|
||||
@@ -1280,7 +1280,7 @@ public class CheckMethodAdapter extends MethodVisitor {
|
||||
}
|
||||
try {
|
||||
checkInternalName(desc, start + 1, index, null);
|
||||
} catch (IllegalArgumentException _) {
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
throw new IllegalArgumentException("Invalid descriptor: "
|
||||
+ desc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user