painless: Remove stale comment and remove declared exception

This commit is contained in:
Uwe Schindler 2016-06-16 11:46:11 +02:00
parent f2d6219426
commit 4293030fd9
1 changed files with 3 additions and 3 deletions

View File

@ -266,7 +266,7 @@ public final class DefBootstrap {
}
}
private MethodHandle lookupGeneric() throws Throwable {
private MethodHandle lookupGeneric() {
if ((flags & OPERATOR_COMPOUND_ASSIGNMENT) != 0) {
return DefMath.lookupGenericWithCast(name);
} else {
@ -275,8 +275,8 @@ public final class DefBootstrap {
}
/**
* Called when a new type is encountered (or, when we have encountered more than {@code MAX_DEPTH}
* types at this call site and given up on caching).
* Called when a new type is encountered or if cached type does not match.
* In that case we revert to a generic, but slower operator handling.
*/
@SuppressForbidden(reason = "slow path")
Object fallback(Object[] args) throws Throwable {