- 
    Enhancement 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    None
- 
        b05
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8367020 | 25.0.2 | Shyam kishor | P4 | Resolved | Fixed | b01 | 
                    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.
- backported by
- 
                    JDK-8367020 Add AOT test case: verification constraint classes are excluded -           
- Resolved
 
-         
- relates to
- 
                    JDK-8361367 AOT ExcludedClasses.java test failed with missing constant pool logs -           
- Resolved
 
-         
- links to
- 
                     Commit(master)
        openjdk/jdk25u/4c3a085a Commit(master)
        openjdk/jdk25u/4c3a085a
- 
                     Commit(master)
        openjdk/jdk/055d2ffa Commit(master)
        openjdk/jdk/055d2ffa
- 
                     Review(master)
        openjdk/jdk25u/161 Review(master)
        openjdk/jdk25u/161
- 
                     Review(master)
        openjdk/jdk/26079 Review(master)
        openjdk/jdk/26079
             (1 links to)