Skip to content

[jvm-packages] Fix JVM docs build, by making LabeledPoint a Java class#11545

Merged
hcho3 merged 2 commits into
dmlc:masterfrom
hcho3:fix_javadoc
Jul 3, 2025
Merged

[jvm-packages] Fix JVM docs build, by making LabeledPoint a Java class#11545
hcho3 merged 2 commits into
dmlc:masterfrom
hcho3:fix_javadoc

Conversation

@hcho3

@hcho3 hcho3 commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator

Unblock the CI by fixing the failing JVM docs build.

For some reason, the JavaDoc plugin is no longer able to resolve references to LabeledPoint, which is currently a Scala class.
To get the docs fixed, re-implement LabeledPoint as a Java class instead. This results into lots of boilerplate. When we transition to JVM 17+ (per #11510), we will be able to use a record class instead.

@hcho3 hcho3 changed the title [CI] Fix JVM docs build, by making LabeledPoint a Java class [jvm-packages] Fix JVM docs build, by making LabeledPoint a Java class Jul 3, 2025
@hcho3 hcho3 requested a review from trivialfis July 3, 2025 04:31
@hcho3

hcho3 commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator Author

@wbo4958 @WeichenXu123 Can I get a review on this?

@hcho3 hcho3 merged commit 65ab69e into dmlc:master Jul 3, 2025
61 checks passed
@hcho3 hcho3 deleted the fix_javadoc branch July 3, 2025 15:09
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.

2 participants