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?
[ Parent
| on HN ]
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.