Replace isSealed
reflection-based implementation with JDK built-in implementation
#3081
Labels
language: Java 17+
An issue related to using AssertJ with Java 17 or newer
status: ideal for contribution
An issue that a contributor can help us with
type: improvement
A general improvement
Milestone
#3080 introduced a reflection-based implementation to assert that a
Class
instance is sealed.We should replace such an implementation with the built-in
Class::isSealed
.The text was updated successfully, but these errors were encountered: