News for hackers. Stuff that matters.
Re:Java 11 released by gdsdfe on Tuesday September 25, 2018 @03:09PM (#18069453)
We're still using the 6 FML
Re:Java 11 released by Freak_NL on Tuesday September 25, 2018 @03:30PM (#18069688)
Ouch. Java 7 and 8 introduced a bunch of very pleasant syntactical fixes that greatly improved my pleasure in coding Java. What's holding you back on 6?
Re:Java 11 released by pwagland on Tuesday September 25, 2018 @03:44PM (#18069827)
Probably they are using an "enterprise" J2EE stack that hasn't been updated to the latest version.
Re:Java 11 released by gdsdfe on Tuesday September 25, 2018 @04:19PM (#18070142)
Bingo! Ginormous amount of technical debt that nobody is dealing with and probably not even seeing ... Plus a culture of "if it works don't touch it" ... I am dying inside ...
Re:Java 11 released by itronitron on Wednesday September 26, 2018 @12:12AM (#18072722)
6 to 7 is an easier switch than 7 to 8, they changed the boolean value of at least one default runtime parameter in java 8 without telling anyone
Re:Java 11 released by qw on Tuesday September 25, 2018 @04:23PM (#18070184)
If the only restriction is the compatibility with the rest of the stack, perhaps Kotlin is an option?

Kotlin can target JDK 6 and can integrate with old stacks

Re:Java 11 released by agumonkey on Tuesday September 25, 2018 @04:12PM (#18070079)
yeah java8 is liveable, previous versions are tough on your soul
Re:Java 11 released by riku_iki on Tuesday September 25, 2018 @04:19PM (#18070149)
>Java 7 and 8

and Java 10 has much better type inference too.

Re:Java 11 released by pjmlp on Wednesday September 26, 2018 @02:46AM (#18073323)
One of our customers still has a couple of Red-Hat 5 with Java 1.4 servers if that makes you feel better.
Re:Java 11 released by sigzero on Tuesday September 25, 2018 @04:17PM (#18070123)
Pffttt....still on 5 here. Working to change that.
Re:Java 11 released by ptx on Tuesday September 25, 2018 @04:57PM (#18070416)
On the bright side, Java 5 is a huge improvement over earlier versions – at least you have generics, and you don't have to manually create iterator objects every time you write a loop! (Java ME was stuck on 1.3 until its death.)
Re:Java 11 released by akerro on Tuesday September 25, 2018 @04:41PM (#18070297)
>Working to change that.

How are you planning to move from 5 to 8/11? Our migration from 5/6 to 8 was really painful.

Re:Java 11 released by gizmo385 on Tuesday September 25, 2018 @06:53PM (#18071238)
I thought the whole point of a backwards compatible language like Java was that transitions should be relatively easy to make?
Re:Java 11 released by akerro on Wednesday September 26, 2018 @04:13AM (#18073837)
A lot of stuff like ant/maven, other build tools, plugins, libraries broke due to hardening in JVM that puts a lot of more restrictions on reflection.
Re:Java 11 released by toyg on Tuesday September 25, 2018 @07:24PM (#18071415)
Backwards-compatible only means you can run old code on new VMs, with the correct target flags; it doesn't say anything about mixing new and old code.