Skip to content

PHOENIX-7901: Support JDK 11/17/21 in phoenix-adapters#10

Open
jinggou wants to merge 4 commits into
apache:mainfrom
jinggou:PHOENIX-7901
Open

PHOENIX-7901: Support JDK 11/17/21 in phoenix-adapters#10
jinggou wants to merge 4 commits into
apache:mainfrom
jinggou:PHOENIX-7901

Conversation

@jinggou

@jinggou jinggou commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@palashc palashc requested review from palashc and virajjasani July 1, 2026 21:07
@palashc palashc added the enhancement New feature or request label Jul 1, 2026
jinggou added 2 commits July 1, 2026 14:35
- Fix jacoco wiring with propertyName configuration
- Add JDK 21 profile matching upstream Phoenix (split from JDK 17)
- Change JDK 17 activation range from [17,) to [17,21)
- Add phoenix-surefire.jdk21.flags for SystemExitRule compatibility
- Drop CMS flags from JDK 11 tuning (CMS removed in JDK 14)
- Add surefire.Xms property for parity with upstream
- Remove unused java.version property
- Fix jacoco tag style to self-closed format
- Move and clarify comment placement

All changes align with Apache Phoenix master pom.xml conventions
and ensure compatibility with JDK 14-16 (CMS removed in JEP 363).

Reference: PHOENIX-7036, commit 48d712ca
Comment thread .github/workflows/ci.yml Outdated

strategy:
matrix:
java: [8, 11, 17, 21]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can consume too many resources of github workflow. Can we only include Java 8 and 17?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

- PRs: Test only JDK 8 for fast feedback (~10-15 min)
- Push to main: Test JDK 8 + 17 for baseline and --add-opens verification
- Reduces PR CI time by 75% while maintaining coverage on main branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants