Added support for Java 8

This commit is contained in:
JKetelaar
2014-12-10 18:07:03 +01:00
parent 32e89b8615
commit 47d71951a1
@@ -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);
}