Skip to content

Replace isSealed reflection-based implementation with JDK built-in implementation #3081

@scordio

Description

@scordio

#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.

Metadata

Metadata

Labels

language: Java 17+An issue related to using AssertJ with Java 17 or newerstatus: ideal for contributionAn issue that a contributor can help us with

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions