RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

Migration to Java 11

Open Tejas2805 opened this issue 4 years ago • 7 comments

We should start migrating our code to Java 11 because from Gradle Version 6.0 onwards, it's compatible with Java 11.

As seen recently, our Gradle version was outdated and this led to 1/2 breaking changes. If we start moving to Java 11 from beforehand, we can be ready and update our Gradle version as and when required.

Tejas2805 avatar Jul 19 '20 10:07 Tejas2805

@damithc What do you think of this issue? Do you think we still need java8 compatibility?

fzdy1914 avatar Jan 19 '21 11:01 fzdy1914

Do you think we still need java8 compatibility?

Would be nice to have (I think it was the last 'free' version of Java and some people might not upgrade beyond Java 8 fora while) but OK not to have it too.

damithc avatar Jan 19 '21 12:01 damithc

OK, will only upgrade it when we truly have to do so.

fzdy1914 avatar Jan 19 '21 12:01 fzdy1914

Lowering priority, as OpenJDK 1.8 is supported until at least May 2026.

dcshzj avatar Mar 23 '21 09:03 dcshzj

As a side note, Checkstyle 10 is now available but requires a minimal version of Java 11. If we decide to move fully to Java 11 and raise the minimum Java version, we can consider upgrading Checkstyle at the same time.

yhtMinceraft1010X avatar Mar 24 '22 14:03 yhtMinceraft1010X

The current build of RepoSense works on Java 11 and with Checkstyle 10.10.0, so we are able to migrate if needed

supermii2 avatar Mar 11 '24 05:03 supermii2

I don't mind upgrading to Java 11

damithc avatar Mar 11 '24 15:03 damithc