[11u] RFR (S) 8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
Hohensee, Paul
hohensee at amazon.com
Tue Apr 6 15:18:53 UTC 2021
Lgtm.
Thanks,
Paul
-----Original Message-----
From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> on behalf of Aleksey Shipilev <shade at redhat.com>
Date: Tuesday, April 6, 2021 at 3:59 AM
To: "jdk-updates-dev at openjdk.java.net" <jdk-updates-dev at openjdk.java.net>
Subject: [11u] RFR (S) 8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
Original bug:
https://bugs.openjdk.java.net/browse/JDK-8238175
https://hg.openjdk.java.net/jdk/jdk/rev/b7f4baa47fe2
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:
https://cr.openjdk.java.net/~shade/8238175/webrev.11u.01/
Testing: new regression test (fails before, passes now); tier{1,2}
--
Thanks,
-Aleksey
More information about the jdk-updates-dev
mailing list