-
-
Notifications
You must be signed in to change notification settings - Fork 425
Replace animal-sniffer with javac parameter #312
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
Replace animal-sniffer with javac parameter #312
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds great, but quickly reading about this, doesn't the '--release' flag need to be set. Where is that now happening?
Interestingly, when testing, I had the same behaviour when specifying the source and target. |
@bramp I've added the missing flag. Alternatively, we could also upgrade to a newer Java version |
I'm really out of date with Java, what's the standard min supported version? Checking my go-to project guava, they still support Java 1.8+. |
LTS releases are:
It honestly depends. Many tooling and very static solutions are still using Java 8, which is basically the "never-touch"-systems. The only somewhat consistent overview of that topic (that I know of) is from newrelic. Based on that: Java 11 would be the most LTS. Sadly, this was published a few months after the release of Java 17, which means adoption was still underway. I'm expecting an update next month, but I'm expecting a shift in adaptation towards 17. The option of Multi-Release Jar Files allows newer versions to be added to an old project. My company is still running on Java 17, and we plan to upgrade it to Java 21. I'm working on projects in my spare time using Java 17+. Ultimately, Java 8 was so popular that it won't die. @bramp Hope that helps. |
@bramp Something I'd like to add: Additionally, I'm working on adding getters to all the data classes. So, my recommended roadmap would be:
|
Thanks for all the great info. I think I'll move a lot of this content into a bug #316 As for this change, let's try and keep Java 8 support, but happy to use this change for Java 9+ |
This closes #311