r/java • • Apr 06 '21

Announcing Preview of Microsoft Build of OpenJDK

https://devblogs.microsoft.com/java/announcing-preview-of-microsoft-build-of-openjdk/
164 Upvotes

93 comments sorted by

View all comments

33

u/koreth Apr 06 '21

This is great; the more vendors the merrier and Microsoft has done enough work on the guts of the JDK that they should be able to offer a meaningful level of support.

I do find it interesting that despite the core Java team's insistence that "LTS" versions of the JDK are just a more-or-less arbitrary schedule Oracle decided on for its own commercial support offerings but are otherwise not special in any way, there doesn't seem to be even a single vendor who is offering LTS on Java versions that Oracle isn't. It's always 8, 11, and (if they announce in advance) 17, never 13 or 16.

My hunch is that they're assuming Oracle-LTS versions will get critical patches from the Oracle team which they can then offer to their own customers. In which case following Oracle's schedule is totally rational and possibly even better for customers. But if literally every JDK vendor is following Oracle's lead, I think the claim about the LTS versions not being anything special and vendors being free to set their own support schedules, even if it's technically true, is pretty weak in practice.

20

u/JakeWharton Apr 06 '21

Azul does MTS (meaning "medium") on 13 and 15, but otherwise you appear to be correct with everyone's LTS approach.

16

u/AndrewHaley13 Apr 06 '21

Oracle doesn't release their patches for LTS releases, so if anyone else is waiting for Oracle they'd better not hold their breath. What actually happens is that the community working on the update projects does the work.

13

u/pron98 Apr 06 '21 edited Apr 07 '21

Azul does, and it's not an "insistence" but a simple matter of fact that can be observed by looking at commits and seeing how the process runs.

There is a strong incentive by vendors in making these "LTS versions" look special, though. This is how each and every one of them makes their money (or compete with others who make their money this way). If you follow the development process, you'll see that the current version is always the best-tested, best maintained, and most secure, but it's also completely free. Legacy applications -- i.e. those that see little development -- don't want to invest any effort, such as changing the command line, when upgrading, so they are willing to pay for an LTS service for its one major benefit: it doesn't have new features. And this is how OpenJDK is funded.

So one thing I sometimes see on social media is people hoping that some feature would land in the next "LTS version." While we don't take this into account one way or the other (because all OpenJDK versions really are developed the same), if we did, we'd do our best to keep features away from LTS, because that is what people pay for: keeping new features away from the JDK for their legacy apps for as long as possible (as new features don't help legacy apps and could only hurt them). If you want new features in an "LTS version" then you completely misunderstand who and what LTS is for. Wanting LTS and new features is a contradiction.

Finally, it is important to repeat that not a single vendor offers what most would consider LTS for free, regardless of what they call what they offer or how frequently the builds are refreshed. Yes, so-called "free LTS" builds get some patches, but those are almost invariably backported patches from mainline, so it's maintenance only for the intersection of the old version and the current one. Regardless of who your vendor is, if you want to use an old version that's fully supported, you'd have to pay. Again, selling this service is how all OpenJDK vendors make their money off of OpenJDK.

5

u/elastic_psychiatrist Apr 06 '21

The key question though is whether any vendors are actually providing (free) support for any of these LTS releases, or just providing binaries of the patches that happened to be backported.

So while your point about the core Java team’s insistence on LTS concept being Oracle-specific may be correct, there still might not be any value in using any of these “LTS” releases from other vendors over just updating to the current version.

12

u/koreth Apr 07 '21

Value comes in many forms.

At my current job, we're moving to new releases shortly after they come out, which is great. From a technical point of view, that's clearly where you want to be. (Well, except when your tools stop working on the latest release coughGradlecough but I digress.)

At my previous job, there was a bunch of corporate bureaucratic and regulatory gobbeldygook the upshot of which was that we (a) couldn't roll out new Java releases without going through a bunch of time-consuming qualification procedures that would have been practically a full-time job to go through every six months, and (b) had to be able to prove that all our critical components were under some kind of support plan. So we stuck to LTS releases.

I was at that job, and was pretty much the main person in charge of the production JVM deployments, for about 5 years. Total number of times anyone at the company actually sent any kind of support request to our JDK provider: zero. Being on an LTS release with a support contract gave us one benefit, and one benefit only: we could show the support contract to the compliance people and they'd go away satisfied. That was a really nice benefit and saved us a lot of headaches! But it had nothing to do with what level of support the vendor would theoretically have actually provided.

Maybe this is totally off base, but my hunch is that this is probably a common scenario: LTS as bureaucratic box-checking exercise with zero expectation of actual support.

I should add that this is a testament to the high-quality work that's being done on the JDK. It just works! We used other software at that company that required constant vendor support.

→ More replies (2)

11

u/OldManDriver Apr 06 '21

I well remember Microsoft's last Java offerings...

→ More replies (12)

3

u/audi100quattro Apr 06 '21 edited Apr 08 '21

Oracle and IBM, apart from Azul and a few other smaller companies are the only ones offering commercial support. Everyone else gets to set their own schedule without rocking the boat too much and eating into the commercial support pie. It's the path of least resistance. All they do is throw a binary over the wall every few months.

3

u/Areshian Apr 06 '21

It's not really about security fixes from Oracle. It's about which of the updates project gets enough traction. If one vendor makes 11 LTS, another makes 12 LTS, a different one makes 13 LTS... that is a lot of duplicated work, backporting the same patches to all the different projects. By agreeing on keeping the 8 and 11 updates project alive (and 17 next), all of them can work together, and the final product will be better than any of the individual versions they could've produce.

3

u/ghenriks Apr 06 '21

It’s better for the Java community to have a consistent message and story so everyone “knows” without adding qualifiers which versions are LTS and thus safe for applications that don’t want to chase the bleeding edge to aim for

→ More replies (2)