News for hackers. Stuff that matters.
Re:Java 9 has six weeks to live by paulddraper on Tuesday February 06, 2018 @12:56PM (#16317986)
> The new Java release train means that there will be a new release of Java every six months. And when the next release comes out, the previous release is obsolete.

> In practical terms it means that there are no more security updates from Oracle.

What?!? If I have Java 9, I have to upgrade the day Java 10 is released to be secure? I have to do major (i.e. feature breaking) upgrades to get security updates?

How is this a sane policy, and how many people are going to be running unpatched Java versions?

Re:Java 9 has six weeks to live by kgoutham93 on Tuesday February 06, 2018 @01:59PM (#16318516)
To be fair I think Oracle allows for 3-4 month overlapping period between versions.
Re:Java 9 has six weeks to live by dragonwriter on Tuesday February 06, 2018 @05:45PM (#16320654)
Per Oracle's own EOL notices, the overlap seems to be only for LTS versions; Java 8 LTS full support runs through January 2019 with Java 11 (18.9 LTS) scheduled for Spetember 2018. But Java 10 (18.3), GA in March 2018, support ends Spetember 2018; and Java 9 support ends March 2018.

http://www.oracle.com/technetwork/java/eol-135779.html

Re:Java 9 has six weeks to live by paulddraper on Tuesday February 06, 2018 @05:13PM (#16320409)
That would be more reasonable.

Either you or joda.org are incorrect. Let's hope it's joda.org.

Re:Java 9 has six weeks to live by bitwize on Tuesday February 06, 2018 @01:24PM (#16318204)
Either patch it yourself, or pay Oracle for a support license.
Re:Java 9 has six weeks to live by indemnity on Tuesday February 06, 2018 @01:47PM (#16318407)
Anyone who has had any interactions with Oracle before knows this is 100% how they operate.

They’re a machine to strip mine money out of your pockets, and they’re always looking for a new angle.

Re:Java 9 has six weeks to live by jmiserez on Tuesday February 06, 2018 @02:08PM (#16318607)
How is a support license going to help? You’ll still have to fix your own applications yourself, Oracle is certainly not going to do that for you.
Re:Java 9 has six weeks to live by tormeh on Tuesday February 06, 2018 @02:01PM (#16318537)
Sounds reasonable to me. People who expect free support on an open source product mystify me.
Re:Java 9 has six weeks to live by needusername on Wednesday February 07, 2018 @12:12AM (#16322377)
Oracle offers support only for LTS releases. Oracle does not offer support for Java 9 and will not offer support for Java 10.
Re:Java 9 has six weeks to live by qubex on Tuesday February 06, 2018 @01:48PM (#16318415)
Oracle? Sane? No.
Re:Java 9 has six weeks to live by therealmarv on Tuesday February 06, 2018 @05:21AM (#16315386)
Thanks. Stayed on Java 8 because had some smaller problems with Java 9. Now I'm happy I stayed with Java 8 (LTS).
Re:Java 9 has six weeks to live by md365 on Tuesday February 06, 2018 @05:34AM (#16315428)
Ironically, some claims that Java 9 feels like home.
Re:Java 9 has six weeks to live by fulafel on Wednesday February 07, 2018 @12:17AM (#16322382)
What are the practical problems Java apps typically run into when upgrading? Or is this more about not wanting to redeploy and test your app every 6 months?
Re:Java 9 has six weeks to live by needusername on Thursday February 08, 2018 @01:55AM (#16330675)
I would say it depends, its quite easy to unknowingly depend on non-standard behavior that can break like HashMap iteration order.

What often causes issues is that every release has a new byte code version and the ecosystem relies heavily on byte code libraries so these will have to be updated across the board (eg. you use middleware that uses a framework that uses a byte code library).

Things on the top of my head that can break with Java 9:

- new gc logging options and format

- rt.jar and tools.jar are gone

- new JDK layout

- Corba, XML and Annotation classes no longer visible by default

- application class loader is no longer and URL class loader

- a different hack is required to munmap files

It's not too bad in general.

Re:Java 9 has six weeks to live by therealmarv on Wednesday February 07, 2018 @03:39AM (#16323069)
as with every main version: Things can break. Using a Swing based app which I use every day and which I don't maintain... it did not work properly on Java 9 and I'm not responsible in fixing that.
Re:Java 9 has six weeks to live by marcodave on Tuesday February 06, 2018 @12:42PM (#16317868)
on one hand, I'm pretty ok with this, it helps more understanding that "hey, you're several security patches behind!" rather than just hiding the information in a build number. what's not really clear at least from the article, how will new APIs be rolled out with this faster release cycle?
Re:Java 9 has six weeks to live by dragonwriter on Tuesday February 06, 2018 @06:00PM (#16320761)
New APIs will be part of the every 6 months feature releases. Which means if you aren't on the LTS, you need to stay up with feature releases to get security updates after 6 months.
Re:Java 9 has six weeks to live by needusername on Wednesday February 07, 2018 @12:16AM (#16322381)
Also old APIs can be removed part of the every 6 months feature releases. In theory an API can be deprecated in Java 10 and removed in Java 11.
Re:Java 9 has six weeks to live by princekolt on Tuesday February 06, 2018 @09:16PM (#16321778)
There will come a time when, just like flash, it will simply be easier to uninstall it and move on.