Java 25 Officially Released

(mail.openjdk.org)

46 points | by mkurz 2 hours ago

7 comments

  • BlindEyeHalo 7 minutes ago
    Crazy that it took this long to allow parameter validation and transformation before calling super in the constructor.

    That was something that always bothered me because it felt so counterintuitive.

  • 112233 9 minutes ago
    What is the current situation of using Java (from legal standpoint)? In open source and in commercial setting? Oracle has a lot of fantastic technology locked up in Java (things like Truffle), how reasonable it is for new projects?
    • piva00 8 minutes ago
      Use OpenJDK (or similar) and you are free from any Oracle shenanigans.
      • ffsm8 2 minutes ago
        I don't disagree (it is gpl licenced after all)- but it's worth keeping in mind that openjdk is still provided by oracle, too.

        And all the other variants ultimately just repackage it. So if oracle doesn't care about destroying the Java IP, it definitely could cut everyone off from updates going forward.

  • bootman 25 minutes ago
    Java has been such an amazingly solid technological foundation... and for a long, long time! It may not be the most sexy language but it's been a stable one. We have applications created with Java 1.4 running happily on Java 21 LTS and expect to upgrade to this latest LTS (Java 25) soon. Java for the win!
  • mrsilencedogood 37 minutes ago
    Damn, still not structured concurrency full release. Really looking forward to that one.

    Happy to see Scoped Values here though. That'll be big for writing what I'll call "rails-like" things in Java without it just being a big "static final" soup in a god-class, or having a god object passed around everywhere.

    • pjmlp 16 minutes ago
      Much better this way with previews, than the mess C++ is having nowadays with standardising features without implementations.
    • jayd16 19 minutes ago
      I hope structured concurrency ends up feeling better than async/await with less sugar. The examples do not instill confidence, but we shall see.
      • pjmlp 15 minutes ago
        Unfortunately on .NET side, TPL Dataflow doesn't get enough love.
      • dionian 15 minutes ago
        I would be shocked if they came up with something that made me want to move away from ZIO.
  • cryptos 31 minutes ago
    Nice overview of new features in Java 25: https://www.baeldung.com/java-25-features
  • mkurz 2 hours ago
    New Features: https://openjdk.org/projects/jdk/25/

    Java 25 is an LTS release.