Skip to content

Replace isRecord reflection-based implementation with JDK built-in implementation #3079

@scordio

Description

@scordio

#2968 introduced a reflection-based implementation to assert that a Class instance is a record.

We should replace such an implementation with the built-in Class::isRecord.

Metadata

Metadata

Assignees

No one assigned

    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