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

add requires static java.sql to picocli module-info #1600

Closed
remkop opened this issue Feb 24, 2022 · 0 comments
Closed

add requires static java.sql to picocli module-info #1600

remkop opened this issue Feb 24, 2022 · 0 comments
Labels
theme: build An issue or change related to the build system theme: module An issue or change related to JPMS modules type: API 🔌 type: doc 📘
Milestone

Comments

@remkop
Copy link
Owner

remkop commented Feb 24, 2022

In order to generate modular javadoc (#1298), the picocli module info needs this line:

requires static java.sql;

Because we have {@link java.sql.Types} in the CommandLine.java javadoc.
Without that requires statement, we get a "reference not found" error:

C:\Users\remko\IdeaProjects\picocli3\build\tmp\modules\info.picocli\picocli\CommandLine.java:3923: error: reference not found
         * in {@link java.sql.Types java.sql.Types} to the {@code int} value of these constants, but any other {@code int} fields should
                     ^
@remkop remkop added type: doc 📘 type: API 🔌 theme: module An issue or change related to JPMS modules theme: build An issue or change related to the build system labels Feb 24, 2022
@remkop remkop added this to the 4.7 milestone Feb 24, 2022
@remkop remkop closed this as completed in 5231db2 Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: build An issue or change related to the build system theme: module An issue or change related to JPMS modules type: API 🔌 type: doc 📘
Projects
None yet
Development

No branches or pull requests

1 participant