mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8332547: Unloaded signature classes in DirectMethodHandles
Reviewed-by: jvernee, liach
This commit is contained in:
parent
c7d2a5c1c4
commit
29e10e4582
4 changed files with 83 additions and 15 deletions
|
@ -632,7 +632,7 @@ class InvokerBytecodeGenerator {
|
|||
else if (c == Object[].class) return OBJARY;
|
||||
else if (c == Class.class) return CLS;
|
||||
else if (c == MethodHandle.class) return MH;
|
||||
assert(VerifyAccess.isTypeVisible(c, Object.class)) : c.getName();
|
||||
assert(VerifyAccess.ensureTypeVisible(c, Object.class)) : c.getName();
|
||||
|
||||
if (c == lastClass) {
|
||||
return lastInternalName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue