An apt ending draws nigh
By darcy on Dec 02, 2011
I brought you into this world, and I'll take you out!
The end of an era draws nigh!
After being deprecated in JDK 7, the
apt command line tool and the entirely of its associated API is on track to be removed from JDK 8 within the next few months.
apt was fine back in JDK 5, the time has come to transition annotation processing to the superior standardized annotation processing provided by
javax.lang.model.*. These packages were added to Java SE 6 under JSR 269.
This removal effort was discussed in JEP 117: Remove the Annotation-Processing Tool (apt).
jax-ws in the JDK use
apt, but those portions are being rewritten to use the JSR 269 APIs.
Once that revised version of
jax-ws is being used by the JDK builds,
apt will be excised in short order.
apt is not part of Java SE; it is just a component of the JDK and is thus easier to remove from the platform.
While I was the lead in creating
apt, lo these many years ago, I'm looking forward to deleting the code from the JDK to encourage use of a better replacement API and to ease maintenance of