Skip to content

Java version #13

Closed
Closed

Description

@Tais993

Java has multiple versions.

So the question is simple, what version will we use?

I myself would push towards using the latest version.

  • Java 16 has records, which will probably end up being useful in some way.
  • Java 15 has better NPE's, which will help with debugging, and text blocks can make strings a lot more readable.
  • Java 14, switch expressions are (imo) the more readable variant of switch statements.

Since this bot will be for the TJ server, I can't think of any reasons to use a lower Java version myself.

🚀 Latest
7️⃣ Java 17
6️⃣ Java 16
5️⃣ Java 15
4️⃣ Java 14
3️⃣ Java 13
2️⃣ Java 12
1️⃣ Java 11
0️⃣ Java 10
9️⃣ Java 9
8️⃣ Java 8
React or comment with the corresponding emoji to vote!

Activity

  1. added
    question
    on Sep 5, 2021
  2. self-assigned this
    on Sep 5, 2021
  3. Zabuzard commented on Sep 5, 2021

    @Zabuzard
    Member

    Since we are a Java community and so far I do not think we have any version restrictions (e.g. due to frameworks), I am heavily voting for latest.

    Also, Java 17 is out in a few days and will be the next LTS release. So we should definitely go for that, in my opinion.

  4. added this to the Initial Setup milestone on Sep 5, 2021
  5. d3vel0per commented on Sep 5, 2021

    @d3vel0per
    Contributor

    Yes, no reason to start behind since we dont carry any historical baggage. As Zabu said next LTS is just coming out in a week.
    Start with JDK17 and keep moving with the latest GA releases unless there are blockers.

  6. marko-radosavljevic commented on Sep 6, 2021

    @marko-radosavljevic
    Contributor

    Eh, I think it's easier to not jump instantly on the latest release, because there will be for sure be issues with some tools we are using, sooner or later. Even for simple projects, I always encountered issues with some tools in CI/CD pipeline.

    I think we should stick with 16, until we know we can bump to the next release without issues. We basically lose nothing, maybe a few weeks on new features, but we avoid a headache related to pipeline being broken.

  7. Tais993 commented on Sep 6, 2021

    @Tais993
    MemberAuthor

    Eh, I think it's easier to not jump instantly on the latest release, because there will be for sure be issues with some tools we are using.

    For sure, we have to wait till there's support.
    But when there is support, switch.
    That's what I meant with "latest"
    I mean it more like "latest when ready"

  8. marko-radosavljevic commented on Sep 6, 2021

    @marko-radosavljevic
    Contributor

    Ah, sure, in that case absolutely! ^^ 💯

  9. marko-radosavljevic commented on Sep 6, 2021

    @marko-radosavljevic
    Contributor

    Since everyone agrees on the approach so far, and I doubt there will be any point of contention about this in the future, I think you can close the issue and consider it resolved.

  10. Zabuzard commented on Sep 6, 2021

    @Zabuzard
    Member

    7 votes of 10 maintainers is indeed enough. So we decide officially for going with the latest Java version possibly (that is, unless something is forcing us to stay lower).

    For now, this will be Java 16. And in a few days Java 17.

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

Metadata

Metadata

Assignees

Labels

question

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions