Skip to content

[#444] Preserve Java 8 Compatibility with a Profile-Based Build Approach#453

Open
swlodarski-sumoheavy wants to merge 1 commit into
bitpay:10.3.xfrom
swlodarski-sumoheavy:10.3.x-profiles
Open

[#444] Preserve Java 8 Compatibility with a Profile-Based Build Approach#453
swlodarski-sumoheavy wants to merge 1 commit into
bitpay:10.3.xfrom
swlodarski-sumoheavy:10.3.x-profiles

Conversation

@swlodarski-sumoheavy

Copy link
Copy Markdown
Collaborator

Summary

This PR ensures the BitPay SDK maintains Java 8 compatibility while allowing development and testing on newer JDK versions. The default compiler target is set to Java 8, with profile-based overrides for JDK 11+.

Backward Compatibility

Releases built using JDK 8 will produce a published Maven artifact that targets Java 8 bytecode. This ensures:

  • Java 8 applications can consume the library
  • Java 11+ applications can consume the library (forward compatible)
  • No breaking changes for existing consumers
  • Maximum compatibility across Java versions 8-25+

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.

1 participant