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

Update to Java 11 #4217

Open
3 tasks
chetanmeh opened this issue Jan 15, 2019 · 5 comments
Open
3 tasks

Update to Java 11 #4217

chetanmeh opened this issue Jan 15, 2019 · 5 comments

Comments

@chetanmeh
Copy link
Member

chetanmeh commented Jan 15, 2019

We should plan to move to Open JDK 11 which is the next LTS release. This issue is meant to track relevant work required to support that

May be its fine to use latest Scala if the JPMS module support is not required. That would need to be validated

@csantanapr
Copy link
Member

Maybe is time to upgrade now?

@chetanmeh
Copy link
Member Author

Tried to run test based on this branch. but build failed for multiple reasons.

Some of the unit tests are failing due to change in behaviour of Instant which is causing Instant in JDK 11 to use microsecond precision while we store the time in db in millis. So when entity instances are reconstructed from db the Instant value differs from one created directly.

See such failed test here. Most failure are due to equality test failing for entities ... most likely due to difference in Instant values.

Other failures are yet not analyzed!

@mcdan
Copy link
Member

mcdan commented Oct 31, 2019

I've proposed a PR that both jumps us to java 11 and a later scala version. All the travis tests pass but perhaps there is something else I should run?

@rabbah
Copy link
Member

rabbah commented Oct 31, 2019

LGTM thanks Dan.

@rabbah
Copy link
Member

rabbah commented Oct 31, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants