"jdeprscan --list" - List All Deprecated APIs

This section provides a tutorial example on how to use 'jdeprscan --list' command to list all deprecated APIs of a specific JDK release.

If you want to find out all deprecated APIs of JDK current release or a specific release, you can run the "jdeprscan --list --release X" command.

List deprecated APIs of JDK current release:

herong> jdeprscan --version
12.0.1

herong> jdeprscan --list
@Deprecated(since="11") int org.ietf.jgss.GSSContext.initSecContext()
@Deprecated(since="11") void org.ietf.jgss.GSSContext.acceptSecContext()
@Deprecated(since="11") void org.ietf.jgss.GSSContext.wrap()
@Deprecated(since="11") void org.ietf.jgss.GSSContext.unwrap()
@Deprecated(since="11") void org.ietf.jgss.GSSContext.getMIC()
@Deprecated(since="11") void org.ietf.jgss.GSSContext.verifyMIC()
@Deprecated javax.naming.Context.APPLET
@Deprecated javax.naming.Name.serialVersionUID
@Deprecated javax.swing.plaf.basic.BasicDesktopPaneUI.minimizeKey
@Deprecated javax.swing.plaf.basic.BasicDesktopPaneUI.maximizeKey
@Deprecated javax.swing.plaf.basic.BasicDesktopPaneUI.closeKey
@Deprecated javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey
@Deprecated javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey2
@Deprecated javax.swing.plaf.basic.BasicInternalFrameUI.openMenuKey
...

List deprecated APIs of JDK 10 release:

herong> jdeprscan --list --release 10
@Deprecated org.omg.CORBA.Current org.omg.CORBA.ORB.get_current()
@Deprecated org.omg.CORBA.DynAny org.omg.CORBA.ORB.create_dyn_any()
@Deprecated org.omg.CORBA.DynEnum org.omg.CORBA.ORB.create_dyn_enum()
@Deprecated org.omg.CORBA.TCKind(int)
@Deprecated java.lang.String org.omg.CORBA.ServerRequest.op_name()
@Deprecated void org.omg.CORBA.ServerRequest.params()
@Deprecated void org.omg.CORBA.ServerRequest.result()
@Deprecated void org.omg.CORBA.ServerRequest.except()
...

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 java - The Java Program Launcher

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 jpackage - Binary Package Builder

 javadoc - The Java Document Generator

 jdeps - The Java Class Dependency Analyzer

jdeprscan - The Java Deprecated API Scanner

 jdeprscan - Deprecated API Scanner Command

 "jdeprscan jar_file" - Deprecated API of Class File

 "jdeprscan jar_file" - Deprecated API of JAR File

 "jdeprscan --release X" - Deprecated API as of Release X

"jdeprscan --list" - List All Deprecated APIs

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jhsdb - The Java HotSpot Debugger

 jvisualvm (Java VisualVM) - JVM Visual Tool

 jmc - Java Mission Control

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

 jarsigner - JAR File Signer

 jshell - Java Language Shell

 jrunscript - Script Code Shell

 Miscellaneous Tools

 native2ascii - Native-to-ASCII Encoding Converter

 JAB (Java Access Bridge) for Windows

 Archived Tutorials

 References

 Full Version in PDF/EPUB