Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are javax packages stable? [duplicate]

Tags:

java

stability

Is it true that javax packages, in the Java language, are not stable and can be deprecated in future versions? In most of our project we use the swing packages which are included in javax.

like image 940
Javaist Avatar asked Sep 15 '25 06:09

Javaist


1 Answers

This is nothing to worry about. There are Java classes that have been deprecated for the last 15 years but they're still in the core libraries for backwards compatibility.

Even if a whole swathe of javax.* classes get deprecated, they won't disappear.

You might want to take a look at Java 9's modular system too.

like image 70
Steve Chaloner Avatar answered Sep 17 '25 18:09

Steve Chaloner