Skip to content

chore: downgrade to java 17 for compatibility#44

Merged
MessiasLima merged 2 commits into
mainfrom
jvm-17
May 27, 2026
Merged

chore: downgrade to java 17 for compatibility#44
MessiasLima merged 2 commits into
mainfrom
jvm-17

Conversation

@MessiasLima
Copy link
Copy Markdown
Owner

@MessiasLima MessiasLima commented May 27, 2026

Summary

We are downgrading the JVM target from 21 to 17 to improve compatibility with consumers running on Java 17.

Checklist

  • Tests were added or updated when needed
  • Documentation was updated when needed

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request downgrades the project's target JVM version from 21 to 17 across build configurations, documentation, and Gradle daemon properties. To maintain compatibility with Java 17, the use of BigDecimal.TWO (introduced in Java 19) in tests was replaced. Feedback suggests using BigDecimal.valueOf(2) instead of BigDecimal(2) to benefit from cached instances of small integers.

Comment thread src/test/kotlin/dev/appoutlet/some/resolver/BigDecimalResolverTest.kt Outdated
@MessiasLima MessiasLima changed the title downgrade do java 17 chore: downgrade to java 17 for compatibility May 27, 2026
@MessiasLima MessiasLima merged commit 8cdfe2b into main May 27, 2026
1 check passed
@MessiasLima MessiasLima deleted the jvm-17 branch May 27, 2026 13:28
@github-project-automation github-project-automation Bot moved this from Ready to Done in Some May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant