Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Sponsor
      SponsoredKunjungi sekarang
      Promo