• Skip to primary navigation
  • Skip to content
  • Skip to footer
EqualsVerifier by Jan Ouwens
  • /
  • Blog
  • Talks
  • EqualsVerifier

    EqualsVerifier can be used in Java unit tests to verify whether the contract for the equals and hashCode methods is met.

    • GitHub
    • Stack Overflow
    • Made by Jan Ouwens
    • Bluesky
    • Mastodon

    Unable to make field foo accessible: module bar does not “opens bar” to baz

    This error message occurs in older versions of EqualsVerifier. If you upgrade, the error message wil probably be replaced with “The class is not accessible via the Java Module system” or “Field foo of type Bar is not accessible via the Java Module system”. If so, please check that error message

    Updated: May 12, 2025

    Previous Next
    • Privacy policy
    • Climate considerations
    • Bluesky
    • Mastodon
    • GitHub
    • Feed
    © 2025 EqualsVerifier. Powered by Jekyll & Minimal Mistakes.