Live data from Hacker News

Java 25 officially released

mail.openjdk.org

11–20 of 260 posts

Re: Java 25 officially released

#11
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?

Re: Java 25 officially released

#12
post #11

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?

Use OpenJDK (or similar) and you are free from any Oracle shenanigans.

Re: Java 25 officially released

#14
post #12
post #11

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?

Use OpenJDK (or similar) and you are free from any Oracle shenanigans.

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.

I don't think they'll do so however, MySQL is still freely usable too, right? And that's oracle IP too.

Might change if they ever get into financial troubles, but that's the same issue with all languages and frameworks.

Re: Java 25 officially released

#15
post #11

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?

There is literally 0 worry. OpenJDK is fully open source.

Re: Java 25 officially released

#16
post #8
post #6

Earlier quoted context omitted.

I hope structured concurrency ends up feeling better than async/await with less sugar. The examples do not instill confidence, but we shall see.

Unfortunately on .NET side, TPL Dataflow doesn't get enough love.

They added an async Channel and its actually pretty nice to work with, at least.

Re: Java 25 officially released

#17

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.

Especially because you were always able to bypass it by declaring a `static` function and calling that as part of the parameters to `super`:

public Foo(int x) { super(validate(x)); }

validate would run before super, even though super was technically the first statement in the constructor, and the compiler was happy.

Re: Java 25 officially released

#18
post #14
post #12

Earlier quoted context omitted.

Use OpenJDK (or similar) and you are free from any Oracle shenanigans.

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. I don't think they'll do so however, MySQL is still freely usable too, right? And that's oracle IP too. Might chan…

And there is Amazon Correcto, Eclipse Temurin...

Sure, that could stop to maintain it, but would put the power immediately in the hands of other companies with a fork

That said, you always have oracle's greediness...

Re: Java 25 officially released

#20
post #11

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?

It's only a consideration if you are going to write your own Java implementation and distribute it.
Post reply on HN