hg: jdk/jdk: 8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
harold.seigel at oracle.com
harold.seigel at oracle.com
Thu Feb 13 15:44:26 UTC 2020
Changeset: b7f4baa47fe2
Author: hseigel
Date: 2020-02-13 15:43 +0000
URL: https://hg.openjdk.java.net/jdk/jdk/rev/b7f4baa47fe2
8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
Summary: Replace the assert with a logging message saying that the class is not a subclass of java.lang.Throwable
Reviewed-by: dholmes, coleenp
! src/hotspot/share/oops/method.cpp
+ test/hotspot/jtreg/runtime/ClassFile/CheckedExceptions.jcod
+ test/hotspot/jtreg/runtime/ClassFile/TestCheckedExceptions.java
More information about the jdk-all-changes
mailing list