Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tricks to improve module visibility issues #192

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

headius
Copy link
Member

@headius headius commented Jun 6, 2024

When open access to java.io is not granted to jnr-posix, display a warning about the APIs that will be broken.

When open access is granted but jnr-posix is in the unnamed module, explicitly open the packages to eliminate the warnings.

See https://github.com/jnr/jnr-posix/wiki/Using-jnr%E2%80%90posix-with-Java-Modules

Eliminates warnings from unnamed module open access requests on releases prior to Java 17 and provides better information (with link to the above wiki page) on Java 17+ for unnamed modules or when open access is denied to the jnr-posix module.

See discussion in #190

@headius headius added this to the 3.1.20 milestone Jun 6, 2024
When open access to java.io is not granted to jnr-posix, display
a warning about the APIs that will be broken.

When open access is granted but jnr-posix is in the unnamed
module, explicitly open the packages to eliminate the warnings.

See https://github.com/jnr/jnr-posix/wiki/Using-jnr%E2%80%90posix-with-Java-Modules

Eliminates warnings from unnamed module open access requests on
releases prior to Java 17 and provides better information (with
link to the above wiki page) on Java 17+ for unnamed modules or
when open access is denied to the jnr-posix module.

See discussion in #190
@headius headius merged commit 50b3be0 into master Jun 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant