Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: EXPOSED-186 Replace JDK 1.7 support in exposed-jodatime classes #1866

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

bog-walk
Copy link
Member

Both column type classes in exposed-jodatime contain companion objects that check for java.time classes that were only introduced in JDK 1.8 (LocalDateTime, OffsetDateTime).

This was implemented because the module was expected to run on Java version 1.7 and to be compatible with legacy android versions.

Since the jvmToolchain has now been to set to 8, support for 1.7 is no longer needed and the classes can be referenced directly.

Both column type classes in exposed-jodatime contain companion objects that check
for java.time classes that were only introduced since JDK 1.8. This was implemented
because the module was expected to run on Java version 1.7 and to be compatible
with legacy android versions.

Since the jvmToolchain has been to set to 8, this logic is no longer needed.
@bog-walk bog-walk changed the title chore: Replace JDK 1.7 support in exposed-jodatime classes chore: EXPOSED-186 Replace JDK 1.7 support in exposed-jodatime classes Sep 22, 2023
@bog-walk bog-walk requested review from e5l and joc-a September 24, 2023 00:01
@bog-walk bog-walk merged commit a9e6456 into main Sep 25, 2023
3 checks passed
@bog-walk bog-walk deleted the bog-walk/replace-jdk1.7-jodatime-logic branch September 25, 2023 10:21
saral pushed a commit to saral/Exposed that referenced this pull request Oct 3, 2023
JetBrains#1866)

* chore: Replace JDK 1.7 support in exposed-jodatime classes

Both column type classes in exposed-jodatime contain companion objects that check
for java.time classes that were only introduced since JDK 1.8. This was implemented
because the module was expected to run on Java version 1.7 and to be compatible
with legacy android versions.

Since the jvmToolchain has been to set to 8, this logic is no longer needed.

* chore: Replace JDK 1.7 support in exposed-jodatime classes

Add apiDump.
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.

3 participants