[11u] RFR (S) 8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class

Aleksey Shipilev shade at redhat.com
Tue Apr 6 10:58:50 UTC 2021

Original bug:

This should improve cleanliness for CTW runs: the patch relaxes the assert to warning.

Unfortunately, the test does not run on 11u, because .jcod sets too high class version. I reduced 
the class version to the one JDK 11 accepts. There are no other changes.

11u webrev:

Testing: new regression test (fails before, passes now); tier{1,2}


More information about the jdk-updates-dev mailing list