git: openjdk/jdk: master: 8345911: Enhance error message when IncompatibleClassChangeError is thrown for sealed class loading failures

David Holmes dholmes at openjdk.org
Wed Dec 18 04:17:41 UTC 2024


Changeset: 45331091
Branch: master
Author:    David Holmes <dholmes at openjdk.org>
Date:      2024-12-18 04:15:57 +0000
URL:       https://git.openjdk.org/jdk/commit/453310918b5d1a284d8467aab797e349d3fb5e14

8345911: Enhance error message when IncompatibleClassChangeError is thrown for sealed class loading failures

Reviewed-by: coleenp, alanb

! src/hotspot/share/classfile/classFileError.cpp
! src/hotspot/share/classfile/classFileParser.cpp
! src/hotspot/share/classfile/classFileParser.hpp
! src/hotspot/share/classfile/moduleEntry.cpp
! src/hotspot/share/classfile/moduleEntry.hpp
! src/hotspot/share/oops/instanceKlass.cpp
! src/hotspot/share/oops/instanceKlass.hpp
! test/hotspot/jtreg/runtime/modules/SealedInterfaceModuleTest.java
! test/hotspot/jtreg/runtime/modules/SealedModuleTest.java
! test/hotspot/jtreg/runtime/sealedClasses/GetPermittedSubclassesTest.java
+ test/hotspot/jtreg/runtime/sealedClasses/SealedDifferentUnnamedModuleTest.java
= test/hotspot/jtreg/runtime/sealedClasses/SealedSub.java
= test/hotspot/jtreg/runtime/sealedClasses/SealedSuper.java
! test/hotspot/jtreg/runtime/sealedClasses/SealedUnnamedModuleIntfTest.java
! test/hotspot/jtreg/runtime/sealedClasses/SealedUnnamedModuleTest.java



More information about the jdk-changes mailing list