Originally posted by cl333r
View Post
Announcement
Collapse
No announcement yet.
OpenJDK 16 Released With The JDK Source Beginning To Use C++14 Features
Collapse
X
-
Originally posted by cen1 View Post
On the contrary, very little, if anything breaks between java versions in my experience.
Off the top of my head, they've removed applets and associated infrastructure (a no-brainer since browsers stopped supporting them), they've dropped the SOAP and JAXB libraries and tools which used to be bundled (replaced with external libraries), they've dropped some stuff around CORBA and RMI (again, replaced with external libraries), etc. And more subtle, they've either removed or blocked access to a number of internal JVM interfaces which were commonly used to do "unsafe" stuff which would otherwise be impossible in Java — alternatives have been developed, but adopting them requires effort.
- Likes 1
Comment
-
Originally posted by Delgarde View Post
I'm guessing your experience doesn't involve anything beyond Java 8? Because with newer versions, they've been working to slim down the core platform, and that has meant breaking backward compatibility in some areas. Most of these changes are good — for the most part, they're things which really should have been implemented via libraries rather than core platform — but they're the reason 8 has persisted as long as it has... migrating off it is non-trivial.
Off the top of my head, they've removed applets and associated infrastructure (a no-brainer since browsers stopped supporting them), they've dropped the SOAP and JAXB libraries and tools which used to be bundled (replaced with external libraries), they've dropped some stuff around CORBA and RMI (again, replaced with external libraries), etc. And more subtle, they've either removed or blocked access to a number of internal JVM interfaces which were commonly used to do "unsafe" stuff which would otherwise be impossible in Java — alternatives have been developed, but adopting them requires effort.
- applets: nobody cares, nobody uses them anymore.
- soap and jaxb: just a dependency away
- corba and rmi: legacy stuff, did not use it ever and I don't think many people do.
- internal JVM: it was already deprecated so I never used any internal API myself, external dependencies will just have to get up to date and they mostly did other than some very specific stuff like powermock.
TLDR: zero changes in application code, some dependency updates. Java updates are a walk in a park for downstream developers like myself.
- Likes 2
Comment
-
Originally posted by Delgarde View Postthey've dropped some stuff around CORBA and RMI (again, replaced with external libraries)
Comment
-
Originally posted by caligula View PostYou must be kidding. NOBODY uses CORBA and RMI. Nobody used them 10 or 15 years ago either. XML RPC pretty much replaced legacy RPC/RMI. It was pretty much tied to Java VM anyways.
People don't write a lot of new CORBA or RMI code these days, and are generally trying to migrate away, but make no mistake, they're still widely used.
- Likes 1
Comment
Comment