If the AOT cache contains a class like this:
class A {
X foo() {
return new Y();
}
}
A will be stored with the following verification constraint:
X must be a supertype of Y
This constraint is checked when class A is linked.
We should add a test case for this scenario to make sure it works properly even when X and/or Y are excluded from the AOT cache.
class A {
X foo() {
return new Y();
}
}
A will be stored with the following verification constraint:
X must be a supertype of Y
This constraint is checked when class A is linked.
We should add a test case for this scenario to make sure it works properly even when X and/or Y are excluded from the AOT cache.
- relates to
-
JDK-8361367 AOT ExcludedClasses.java test failed with missing constant pool logs
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/055d2ffa
-
Review(master) openjdk/jdk/26079