Skip to content

Warning generating Javadoc due to the use of unnamed module #34763

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

Closed
snicoll opened this issue Apr 15, 2025 · 2 comments
Closed

Warning generating Javadoc due to the use of unnamed module #34763

snicoll opened this issue Apr 15, 2025 · 2 comments
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@snicoll
Copy link
Member

snicoll commented Apr 15, 2025

Overview

./gradlew :framework-api:javadoc generates the following:

warning: The code being documented uses packages in the unnamed module, but the packages defined in https://junit.org/junit5/docs/5.12.2/api/ are in named modules.
error: warnings found and -Werror specified
1 error
1 warning

This affects main. I haven't been able to reproduce this with 6.2.x.

Related Issues

@snicoll snicoll added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 15, 2025
@sbrannen sbrannen self-assigned this Apr 15, 2025
@sbrannen
Copy link
Member

Thanks for reporting this.

This affects main. I haven't been able to reproduce this with 6.2.x.

That's because the changes made in conjunction with #27497 were only applied to main, since we build with JDK 24 on main.

I'll look into it.

@sbrannen sbrannen added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Apr 15, 2025
@sbrannen sbrannen added this to the 7.0.0-M4 milestone Apr 15, 2025
@sbrannen
Copy link
Member

Closing this issue since it is effectively a duplicate of:

@sbrannen sbrannen added status: duplicate A duplicate of another issue and removed type: task A general task labels Apr 16, 2025
@sbrannen sbrannen removed this from the 7.0.0-M4 milestone Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants