hg: jdk-updates/jdk11u-dev: 8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
    shade at redhat.com 
    shade at redhat.com
       
    Thu Apr  8 12:47:14 UTC 2021
    
    
  
Changeset: 96dc29b975a9
Author:    hseigel
Date:      2020-02-13 15:43 +0000
URL:       https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/96dc29b975a9
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-updates-changes
mailing list