eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 722 forks source link

Ignore class loading errors in LoadableDescriptors #20652

Closed theresa-m closed 4 days ago

theresa-m commented 5 days ago

Ignore ClassCircularityError created by LoadableDescriptors lists. I encountered this error when trying to enable migrated value classes https://github.com/eclipse-openj9/openj9/issues/20386

Related to https://github.com/eclipse-openj9/openj9/issues/19119

class Test {
        public static void main(String[] args) throws Throwable {
                Circ c = new Circ();
        }
}

value class Circ {
        static Circ2 c2;
        /* LoadableDescriptors list contains Circ2 */
}

value class Circ2 {
        static Circ c;
        /* LoadableDescriptors list contains Circ */
}
hangshao0 commented 4 days ago

Jenkins test sanity.functional,extended plinuxval jdknext