Skip to content

Package org.assertj.core.annotation is not exported in module-info.java #3950

@duponter

Description

@duponter

Context

org.assertj.core.util.CanIgnoreReturnValue was deprecated in favor of org.assertj.core.annotation.CanIgnoreReturnValue

  • assertj core version: 3.27.4
  • java version: 21.0.3
  • test framework version: 5.13.4

Problem

The new annotation cannot be found when working with JPMS because the org.assertj.core.annotation is not exported.

Solution

Export package org.assertj.core.annotation in module-info if it is intended to be public.

Metadata

Metadata

Assignees

Labels

theme: module systemAn issue related to the Java module system

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions