painless: Remove stale comment and remove declared exception
This commit is contained in:
parent
f2d6219426
commit
4293030fd9
|
@ -266,7 +266,7 @@ public final class DefBootstrap {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private MethodHandle lookupGeneric() throws Throwable {
|
private MethodHandle lookupGeneric() {
|
||||||
if ((flags & OPERATOR_COMPOUND_ASSIGNMENT) != 0) {
|
if ((flags & OPERATOR_COMPOUND_ASSIGNMENT) != 0) {
|
||||||
return DefMath.lookupGenericWithCast(name);
|
return DefMath.lookupGenericWithCast(name);
|
||||||
} else {
|
} 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}
|
* Called when a new type is encountered or if cached type does not match.
|
||||||
* types at this call site and given up on caching).
|
* In that case we revert to a generic, but slower operator handling.
|
||||||
*/
|
*/
|
||||||
@SuppressForbidden(reason = "slow path")
|
@SuppressForbidden(reason = "slow path")
|
||||||
Object fallback(Object[] args) throws Throwable {
|
Object fallback(Object[] args) throws Throwable {
|
||||||
|
|
Loading…
Reference in New Issue