Skip to content

[deploy] Fix empty javadoc jar when building with JDK 8#7658

Merged
JingsongLi merged 1 commit intoapache:masterfrom
littlecoder04:javadoc_fix
Apr 16, 2026
Merged

[deploy] Fix empty javadoc jar when building with JDK 8#7658
JingsongLi merged 1 commit intoapache:masterfrom
littlecoder04:javadoc_fix

Conversation

@littlecoder04
Copy link
Copy Markdown
Contributor

@littlecoder04 littlecoder04 commented Apr 15, 2026

Purpose

The --ignore-source-errors flag is only supported by JDK 9+. Move it to a JDK 9+ activated profile so that JDK 8 builds can generate javadoc correctly.

Before:

Only META-INF files are generated in doc jar with JDK8
Doc jar looks good in JDK11 and JDK17.

After:

Doc jar looks good in JDK8, JDK11 and JDK17.

Tests

@littlecoder04 littlecoder04 marked this pull request as ready for review April 15, 2026 12:05
@littlecoder04 littlecoder04 reopened this Apr 15, 2026
@littlecoder04 littlecoder04 reopened this Apr 15, 2026
@littlecoder04 littlecoder04 force-pushed the javadoc_fix branch 2 times, most recently from 2a49ce8 to f6b8bf8 Compare April 16, 2026 02:35
@JingsongLi
Copy link
Copy Markdown
Contributor

+1

@JingsongLi JingsongLi merged commit cf96eed into apache:master Apr 16, 2026
12 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.

2 participants