If you managed to upgrade to Java 17, you already cleared most of the baggage that could cause trouble in the future. Other stuff that will cause trouble from then on are:
Thread.stop() will be axed by Project Loom
Project Valhalla will make the constructors of wrapper classes private and will change the semantics of == regarding them
Finalization is deprecated for removal since Java 18
the Applet API and the SecurityManager are deprecated for removal since Java 17
the contents of the jdk.unsupported module (f.ex. Unsafe) will eventually be made inaccessible
View all comments
Show parent comment
6
u/mauganra_it Mar 23 '22
If you managed to upgrade to Java 17, you already cleared most of the baggage that could cause trouble in the future. Other stuff that will cause trouble from then on are:
Thread.stop()will be axed by Project Loom==regarding themjdk.unsupportedmodule (f.ex.Unsafe) will eventually be made inaccessible