クラスjava.lang.Deprecated
の使用

Deprecatedを使用しているパッケージ 
パッケージ 説明
com.sun.jarsigner
このパッケージは、jarsignerツールで使用される署名メカニズムを定義するために使用されるインタフェースとクラスで構成されています。
com.sun.java.accessibility.util
Java Accessibility Utilitiesを構成するインタフェースとクラスの集合を提供します。
com.sun.jdi
これは、Java Debug Interface (JDI)のコア・パッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体のミラーを定義します。
com.sun.management
このパッケージには、java.lang.management APIの標準実装に対するJDK拡張機能が含まれており、プラットフォームの他のコンポーネントの管理インタフェースも定義されています。
com.sun.source.tree
ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。
java.applet
アプレットの作成、およびアプレットとアプレット・コンテキストとの通信に使用するクラスの作成に必要なクラスを提供します。
java.awt
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
java.awt.color
カラー・スペースのクラスを提供します。
java.awt.datatransfer
アプリケーション間またはアプリケーション内のデータ転送のためのインタフェースとクラスを提供します。
java.awt.event
AWTコンポーネントによってトリガーされるさまざまな種類のイベントを処理するインタフェースとクラスを提供します。
java.awt.image
イメージを作成および修正するためのクラスを提供します。
java.awt.image.renderable
レンダリングに依存しないイメージを作成するためのクラスおよびインタフェースを提供します。
java.beans
Bean (JavaBeans™アーキテクチャに基づいたコンポーネント)の開発に関連したクラスが含まれています。
java.io
このパッケージは、データ・ストリーム、直列化、ファイル・システムによるシステム入出力用に提供されています。
java.lang
Javaプログラミング言語の設計にあたり基本的なクラスを提供します。
java.lang.invoke
java.lang.invokeパッケージは、Java Virtual Machineとやりとりするための低レベルのプリミティブを提供します。
java.lang.reflect
クラスとオブジェクトに関するリフレクト情報を取得するための、クラスとインタフェースを提供します。
java.math
任意精度の整数演算(BigInteger)および任意精度の10進演算(BigDecimal)を行うクラスを提供します。
java.net
ネットワーク・アプリケーションを実装するためのクラスを提供します。
java.rmi
RMIパッケージを提供します。
java.rmi.dgc
RMI分散ガベージ・コレクション(DGC)に対するクラスとインタフェースを提供します。
java.rmi.registry
RMIレジストリ用として1つのクラスと2つのインタフェースを提供します。
java.rmi.server
サーバー側のRMIをサポートするクラスとインタフェースを提供します。
java.security
セキュリティ・フレームワークのクラスとインタフェースを提供します。
java.security.interfaces
RSA Laboratory Technical Note PKCS#1で定義されているRSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm)キーと、NISTのFIPS-186で定義されているDSA (Digital Signature Algorithm)キーを生成するためのインタフェースを提供します。
java.sql
Java™プログラミング言語を使用してデータソース(通常はリレーショナル・データベース)に格納されたデータにアクセスして処理するためのAPIを提供します。
java.util
コレクション・フレームワーク、国際化サポート・クラス、サービス・ローダー、プロパティ、乱数生成、文字列解析とスキャン・クラス、Base64エンコーディングとデコード、ビット配列、およびその他のユーティリティ・クラスが含まれています。
java.util.concurrent
並行プログラミングでよく使用されるユーティリティ・クラスです。
java.util.concurrent.atomic
単一の変数に対するロックフリーでスレッドセーフなプログラミングをサポートするクラスの小規模なツールキットです。
java.util.jar
JAR (Java ARchive)ファイル形式の読み込みと書込みに使うクラスを提供します。JARは、必要に応じてマニフェスト・ファイルを付随させることのできる、標準的なZIPに基づくファイル形式です。
java.util.logging
Java™ 2プラットフォームのコア・ロギング機能のクラスとインタフェースを提供します。
javax.accessibility
ユーザー・インタフェース・コンポーネントとそれらのコンポーネントへのアクセスを提供するユーザー補助テクノロジの間の規約を定義します。
javax.crypto
暗号化操作のクラスとインタフェースを提供します。
javax.crypto.interfaces
RSA LaboratoriesのPKCS#3で定義されているDiffie-Hellmanキーのインタフェースを提供します。
javax.imageio.spi
リーダー、ライター、コード変換器、およびストリームのプラグイン・インタフェースとランタイム・レジストリを含むJavaイメージ入出力APIのパッケージです。
javax.imageio.stream
ファイルとストリームからの低レベル入出力を処理する、Javaイメージ入出力APIのパッケージです。
javax.lang.model.util
プログラム要素の処理を支援するユーティリティです。
javax.management
Java Management Extensionsのコア・クラスを提供します。
javax.management.loading
高度な動的ロード機能を実装するクラスを提供します。
javax.management.monitor
モニター・クラスを定義します。
javax.management.openmbean
公開データ型とOpen MBean記述子クラスを提供します。
javax.management.remote.rmi
RMIコネクタは、RMIを使ってクライアント要求をリモートMBeanサーバーへ転送する、JMXリモートAPI用のコネクタです。
javax.naming
ネーム・サービスにアクセスするためのクラスおよびインタフェースを提供します。
javax.naming.directory
javax.namingパッケージを拡張して、ディレクトリ・サービスにアクセスする機能を提供します。
javax.net.ssl
セキュア・ソケット・パッケージのクラスを提供します。
javax.security.cert
公開キー証明書用のクラスを提供します。
javax.sql.rowset
JDBC RowSet実装用の標準インタフェースと基底クラスです。
javax.swing
すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
javax.swing.plaf
1つのインタフェースおよび多くのabstractクラスを提供しており、Swingはプラグイン可能なLook & Feel機能を提供するためにこれらを利用します。
javax.swing.plaf.basic
基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。
javax.swing.plaf.metal
デフォルトのLook & FeelであるJava Look & Feel (以前のコード名はMetal)に従って構築されたユーザー・インタフェース・オブジェクトを提供します。
javax.swing.plaf.multi
複数のLook & Feelを結合するユーザー・インタフェース・オブジェクトを提供します。
javax.swing.table
javax.swing.JTableを処理するためのクラスとインタフェースを提供します。
javax.swing.text
編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。
javax.swing.text.html
HTMLテキスト・エディタを作成するためのクラスHTMLEditorKitとサポート・クラスを提供します。
javax.swing.tree
javax.swing.JTreeを処理するためのクラスとインタフェースを提供します。
javax.tools
コンパイラなどのプログラムから呼び出せるツールのインタフェースを提供します。
javax.xml.stream
Streaming API for XML (StAX)のインタフェースとクラスを定義します。
jdk.nashorn.api.scripting
このパッケージでは、Nashornを使用する推奨方法であるjavax.scriptの統合を提供します。
jdk.nashorn.api.tree
NashornパーサーAPIは、ECMAScriptソース・コードを抽象構文ツリー(AST)およびParserとして表現するためのインタフェースを提供し、ECMAScriptソース・スクリプトを解析します。
jdk.net
java.netおよびjava.nio.channelsソケット・クラスに対するプラットフォーム固有のソケット・オプション。
org.ietf.jgss
このパッケージは、Kerberosなどのさまざまな配下のセキュリティ・メカニズムの統合されたAPIを使用して、認証、データの整合性、データの機密性などのセキュリティ・サービスをアプリケーション開発者が利用できるフレームワークを提供します。
org.xml.sax
XML (SAX)のシンプルAPIのインタフェースを提供します。
org.xml.sax.helpers
SAXベースのアプリケーションのブートストラップをサポートするなど、ヘルパー・クラスを提供します。
  • com.sun.jarsignerでのDeprecatedの使用

    Deprecatedの注釈を持つcom.sun.jarsignerのクラス
    修飾子と型 クラス 説明
    class  ContentSigner
    Deprecated.
    このクラスは推奨されていません。
    interface  ContentSignerParameters
    Deprecated.
    このクラスは推奨されていません。
  • com.sun.java.accessibility.utilでのDeprecatedの使用

    Deprecatedの注釈を持つcom.sun.java.accessibility.utilのフィールド
    修飾子と型 フィールド 説明
    protected static ActionListener AWTEventMonitor.actionListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static AdjustmentListener AWTEventMonitor.adjustmentListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static ComponentListener AWTEventMonitor.componentListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static Component AWTEventMonitor.componentWithFocus
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。フォーカスのあるコンポーネントを取得するには、getComponentWithFocusメソッドを使用します。
    protected static ContainerListener AWTEventMonitor.containerListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static FocusListener AWTEventMonitor.focusListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static ItemListener AWTEventMonitor.itemListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static KeyListener AWTEventMonitor.keyListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static MouseListener AWTEventMonitor.mouseListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static MouseMotionListener AWTEventMonitor.mouseMotionListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static TextListener AWTEventMonitor.textListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
    protected static WindowListener AWTEventMonitor.windowListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このフィールドは未使用です。
  • com.sun.jdiでのDeprecatedの使用

    Deprecatedの注釈を持つcom.sun.jdiのクラス
    修飾子と型 クラス 説明
    class  InvalidCodeIndexException
    Deprecated.
    この例外はもうスローされない
    class  InvalidLineNumberException
    Deprecated.
    この例外はもうスローされない
  • com.sun.managementでのDeprecatedの使用

    Deprecatedの注釈を使用するcom.sun.managementのメソッド 
    修飾子と型 メソッド 説明
    default long OperatingSystemMXBean.getFreePhysicalMemorySize()
    Deprecated.
    この履歴名前付きメソッドではなくOperatingSystemMXBean.getFreeMemorySize()を使用してください。
    default double OperatingSystemMXBean.getSystemCpuLoad()
    Deprecated.
    この履歴名前付きメソッドではなくOperatingSystemMXBean.getCpuLoad()を使用してください。
    default long OperatingSystemMXBean.getTotalPhysicalMemorySize()
    Deprecated.
    この履歴名前付きメソッドではなくOperatingSystemMXBean.getTotalMemorySize()を使用してください。
  • com.sun.source.treeでのDeprecatedの使用

    Deprecatedの注釈を使用するcom.sun.source.treeのメソッド
    修飾子と型 メソッド 説明
    ExpressionTree CaseTree.getExpression()
    Deprecated.
    CaseTree.getExpressions()を使用してください。
  • java.appletでのDeprecatedの使用

    Deprecatedの注釈を持つjava.appletのクラス
    修飾子と型 クラス 説明
    class  Applet
    Deprecated.
    アプレットAPIは非推奨であり、代替はありません。
    interface  AppletContext
    Deprecated.
    アプレットAPIは非推奨であり、代替はありません。
    interface  AppletStub
    Deprecated.
    アプレットAPIは非推奨であり、代替はありません。
    interface  AudioClip
    Deprecated.
    アプレットAPIは非推奨であり、代替はありません。
  • java.awtでのDeprecatedの使用

    Deprecatedの注釈を持つjava.awtのクラス
    修飾子と型 クラス 説明
    class  Event
    Deprecated.
    代わりにAWTEventとそのサブクラスを使用することをお勧めします
    Deprecated型の注釈を持つjava.awtのフィールド 
    修飾子と型 フィールド 説明
    static int Frame.CROSSHAIR_CURSOR
    Deprecated.
    Cursor.CROSSHAIR_CURSORに置き換えられています。
    static int Frame.DEFAULT_CURSOR
    Deprecated.
    Cursor.DEFAULT_CURSORに置き換えられています。
    static int Frame.E_RESIZE_CURSOR
    Deprecated.
    Cursor.E_RESIZE_CURSORに置き換えられています。
    static int Frame.HAND_CURSOR
    Deprecated.
    Cursor.HAND_CURSORに置き換えられています。
    static int Frame.MOVE_CURSOR
    Deprecated.
    Cursor.MOVE_CURSORに置き換えられています。
    static int Frame.N_RESIZE_CURSOR
    Deprecated.
    Cursor.N_RESIZE_CURSORに置き換えられています。
    static int Frame.NE_RESIZE_CURSOR
    Deprecated.
    Cursor.NE_RESIZE_CURSORに置き換えられています。
    static int Frame.NW_RESIZE_CURSOR
    Deprecated.
    Cursor.NW_RESIZE_CURSORに置き換えられています。
    protected static Cursor[] Cursor.predefined
    Deprecated.
    JDK Version 1.7以降は、代わりにCursor.getPredefinedCursor(int)メソッドを使用するようにしてください。
    static int Frame.S_RESIZE_CURSOR
    Deprecated.
    Cursor.S_RESIZE_CURSORに置き換えられています。
    static int Frame.SE_RESIZE_CURSOR
    Deprecated.
    Cursor.SE_RESIZE_CURSORに置き換えられています。
    static int Frame.SW_RESIZE_CURSOR
    Deprecated.
    Cursor.SW_RESIZE_CURSORに置き換えられています。
    static int Frame.TEXT_CURSOR
    Deprecated.
    Cursor.TEXT_CURSORに置き換えられています。
    static int Frame.W_RESIZE_CURSOR
    Deprecated.
    Cursor.W_RESIZE_CURSORに置き換えられています。
    static int Frame.WAIT_CURSOR
    Deprecated.
    Cursor.WAIT_CURSORに置き換えられています。
    Deprecated型の注釈を持つjava.awtのメソッド 
    修飾子と型 メソッド 説明
    boolean Component.action​(Event evt, Object what)
    Deprecated.
    JDK Version 1.1以降は、アクション・イベントをトリガーするコンポーネントのActionListenerとしてこのコンポーネントを登録する必要があります。
    void List.addItem​(String item)
    Deprecated.
    add(String)に置き換えられています。
    void List.addItem​(String item, int index)
    Deprecated.
    add(String, int)に置き換えられています。
    void BorderLayout.addLayoutComponent​(String name, Component comp)
    Deprecated.
    addLayoutComponent(Component, Object)に置き換えられています。
    void CardLayout.addLayoutComponent​(String name, Component comp)
    Deprecated.
    addLayoutComponent(Component, Object)に置き換えられています。
    boolean List.allowsMultipleSelections()
    Deprecated.
    JDK Version 1.1以降は、isMultipleMode()に置き換えられています。
    void TextArea.appendText​(String str)
    Deprecated.
    JDK Version 1.1以降は、append(String)に置き換えられています。
    void Window.applyResourceBundle​(String rbName)
    Deprecated.
    J2SE 1.4以降は、Component.applyComponentOrientationに置き換えられています。
    void Window.applyResourceBundle​(ResourceBundle rb)
    Deprecated.
    J2SE 1.4以降は、Component.applyComponentOrientationに置き換えられています。
    Rectangle Component.bounds()
    Deprecated.
    JDK Version 1.1以降は、getBounds()に置き換えられています。
    void List.clear()
    Deprecated.
    JDK Version 1.1以降は、removeAll()に置き換えられています。
    int Container.countComponents()
    Deprecated.
    JDK Version 1.1以降は、getComponentCount()に置き換えられています。
    int Choice.countItems()
    Deprecated.
    JDK Version 1.1以降は、getItemCount()に置き換えられています。
    int List.countItems()
    Deprecated.
    JDK Version 1.1以降は、getItemCount()に置き換えられています。
    int Menu.countItems()
    Deprecated.
    JDK Version 1.1以降は、getItemCount()に置き換えられています。
    int MenuBar.countMenus()
    Deprecated.
    JDK Version 1.1以降は、getMenuCount()に置き換えられています。
    void List.delItem​(int position)
    Deprecated.
    remove(String)およびremove(int)に置き換えられています。
    void List.delItems​(int start, int end)
    Deprecated.
    JDK Version 1.1の時点では、将来的に一般利用される予定はありません。
    void Component.deliverEvent​(Event e)
    Deprecated.
    JDK Version 1.1以降は、dispatchEvent(AWTEvent e).に置き換えられています
    void Container.deliverEvent​(Event e)
    Deprecated.
    JDK Version 1.1以降は、dispatchEvent(AWTEvent e)に置き換えられています
    void Component.disable()
    Deprecated.
    JDK Version 1.1以降は、setEnabled(boolean)に置き換えられています。
    void MenuItem.disable()
    Deprecated.
    JDK Version 1.1以降は、setEnabled(boolean)に置き換えられています。
    void Component.enable()
    Deprecated.
    JDK Version 1.1以降は、setEnabled(boolean)に置き換えられています。
    void Component.enable​(boolean b)
    Deprecated.
    JDK Version 1.1以降は、setEnabled(boolean)に置き換えられています。
    void MenuItem.enable()
    Deprecated.
    JDK Version 1.1以降は、setEnabled(boolean)に置き換えられています。
    void MenuItem.enable​(boolean b)
    Deprecated.
    JDK Version 1.1以降は、setEnabled(boolean)に置き換えられています。
    void Graphics.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
    void PrintJob.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
    Rectangle Polygon.getBoundingBox()
    Deprecated.
    JDK Version 1.1以降は、getBounds()に置き換えられています。
    Rectangle Graphics.getClipRect()
    Deprecated.
    JDK Version 1.1以降は、getClipBounds()に置き換えられています。
    Checkbox CheckboxGroup.getCurrent()
    Deprecated.
    JDK Version 1.1以降は、getSelectedCheckbox()に置き換えられています。
    int Frame.getCursorType()
    Deprecated.
    JDK Version 1.1以降は、Component.getCursor()に置き換えられています。
    abstract String[] Toolkit.getFontList()
    Deprecated.
    abstract FontMetrics Toolkit.getFontMetrics​(Font font)
    Deprecated.
    JDK version 1.2以降は、FontメソッドgetLineMetricsに置き換えられています。
    int Scrollbar.getLineIncrement()
    Deprecated.
    JDK Version 1.1以降は、getUnitIncrement()に置き換えられています。
    int FontMetrics.getMaxDecent()
    Deprecated.
    JDK Version 1.1.1以降は、getMaxDescent()に置き換えられています。
    int Toolkit.getMenuShortcutKeyMask()
    Deprecated.
    代わりに拡張修飾キーとToolkit.getMenuShortcutKeyMaskEx()を使用することをお勧めします
    static ComponentOrientation ComponentOrientation.getOrientation​(ResourceBundle bdl)
    Deprecated.
    J2SE 1.4以降は、ComponentOrientation.getOrientation(java.util.Locale)を使用してください。
    int Scrollbar.getPageIncrement()
    Deprecated.
    JDK Version 1.1以降は、getBlockIncrement()に置き換えられています。
    int Scrollbar.getVisible()
    Deprecated.
    JDK Version 1.1以降は、getVisibleAmount()に置き換えられています。
    boolean Component.gotFocus​(Event evt, Object what)
    Deprecated.
    JDK Version 1.1以降は、processFocusEvent(FocusEvent)に置き換えられています。
    boolean Component.handleEvent​(Event evt)
    Deprecated.
    JDK version 1.1以降は、processEvent(AWTEvent)に置き換えられています。
    void Component.hide()
    Deprecated.
    JDK Version 1.1以降は、setVisible(boolean)に置き換えられています。
    void Dialog.hide()
    Deprecated.
    JDK Version 1.5以降は、setVisible(boolean)に置き換えられています。
    void Window.hide()
    Deprecated.
    JDK Version 1.5以降は、Window.setVisible(boolean)に置き換えられています。
    void TextArea.insertText​(String str, int pos)
    Deprecated.
    JDK Version 1.1以降は、insert(String, int)に置き換えられています。
    Insets Container.insets()
    Deprecated.
    JDK Version 1.1以降は、getInsets()に置き換えられています。
    boolean Component.inside​(int x, int y)
    Deprecated.
    JDK Version 1.1以降は、contains(int, int)に置き換えられています。
    boolean Polygon.inside​(int x, int y)
    Deprecated.
    JDK Version 1.1以降は、contains(int, int)に置き換えられています。
    boolean Rectangle.inside​(int X, int Y)
    Deprecated.
    JDK Version 1.1以降は、contains(int, int)に置き換えられています。
    boolean Component.isFocusTraversable()
    Deprecated.
    1.4以降は、isFocusable()に置き換えられています。
    boolean List.isSelected​(int index)
    Deprecated.
    JDK Version 1.1以降は、isIndexSelected(int)に置き換えられています。
    boolean Component.keyDown​(Event evt, int key)
    Deprecated.
    JDK Version 1.1以降は、processKeyEvent(KeyEvent)に置き換えられています。
    boolean Component.keyUp​(Event evt, int key)
    Deprecated.
    JDK Version 1.1以降は、processKeyEvent(KeyEvent)に置き換えられています。
    void Component.layout()
    Deprecated.
    JDK Version 1.1以降は、doLayout()に置き換えられています。
    void Container.layout()
    Deprecated.
    JDK Version 1.1以降は、doLayout()に置き換えられています。
    void ScrollPane.layout()
    Deprecated.
    JDK Version 1.1以降は、doLayout()に置き換えられています。
    Component Component.locate​(int x, int y)
    Deprecated.
    JDK Version 1.1以降は、getComponentAt(int, int)に置き換えられています。
    Component Container.locate​(int x, int y)
    Deprecated.
    JDK Version 1.1以降は、getComponentAt(int, int)に置き換えられています。
    Point Component.location()
    Deprecated.
    JDK Version 1.1以降は、getLocation()に置き換えられています。
    boolean Component.lostFocus​(Event evt, Object what)
    Deprecated.
    JDK Version 1.1以降は、processFocusEvent(FocusEvent)に置き換えられています。
    Dimension Component.minimumSize()
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize()に置き換えられています。
    Dimension Container.minimumSize()
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize()に置き換えられています。
    Dimension List.minimumSize()
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize()に置き換えられています。
    Dimension List.minimumSize​(int rows)
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize(int)に置き換えられています。
    Dimension TextArea.minimumSize()
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize()に置き換えられています。
    Dimension TextArea.minimumSize​(int rows, int columns)
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize(int, int)に置き換えられています。
    Dimension TextField.minimumSize()
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize()に置き換えられています。
    Dimension TextField.minimumSize​(int columns)
    Deprecated.
    JDK Version 1.1以降は、getMinimumSize(int)に置き換えられています。
    boolean Component.mouseDown​(Event evt, int x, int y)
    Deprecated.
    JDK Version 1.1以降は、processMouseEvent(MouseEvent)に置き換えられています。
    boolean Component.mouseDrag​(Event evt, int x, int y)
    Deprecated.
    JDK Version 1.1以降は、processMouseMotionEvent(MouseEvent)に置き換えられています。
    boolean Component.mouseEnter​(Event evt, int x, int y)
    Deprecated.
    JDK Version 1.1以降は、processMouseEvent(MouseEvent)に置き換えられています。
    boolean Component.mouseExit​(Event evt, int x, int y)
    Deprecated.
    JDK Version 1.1以降は、processMouseEvent(MouseEvent)に置き換えられています。
    boolean Component.mouseMove​(Event evt, int x, int y)
    Deprecated.
    JDK Version 1.1以降は、processMouseMotionEvent(MouseEvent)に置き換えられています。
    boolean Component.mouseUp​(Event evt, int x, int y)
    Deprecated.
    JDK Version 1.1以降は、processMouseEvent(MouseEvent)に置き換えられています。
    void Component.move​(int x, int y)
    Deprecated.
    JDK Version 1.1以降は、setLocation(int, int)に置き換えられています。
    void Rectangle.move​(int x, int y)
    Deprecated.
    JDK Version 1.1以降は、setLocation(int, int)に置き換えられています。
    void Component.nextFocus()
    Deprecated.
    JDK Version 1.1以降は、transferFocus()に置き換えられています。
    boolean Component.postEvent​(Event e)
    Deprecated.
    JDK version 1.1以降は、dispatchEvent(AWTEvent)に置き換えられています。
    boolean MenuComponent.postEvent​(Event evt)
    Deprecated.
    JDK Version 1.1以降は、dispatchEventに置き換えられています。
    boolean MenuContainer.postEvent​(Event evt)
    Deprecated.
    JDK Version 1.1以降は、dispatchEvent(AWTEvent).に置き換えられています
    boolean Window.postEvent​(Event e)
    Deprecated.
    JDK Version 1.1以降は、dispatchEvent(AWTEvent)に置き換えられています。
    Dimension Component.preferredSize()
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize()に置き換えられています。
    Dimension Container.preferredSize()
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize()に置き換えられています。
    Dimension List.preferredSize()
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize()に置き換えられています。
    Dimension List.preferredSize​(int rows)
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize(int)に置き換えられています。
    Dimension TextArea.preferredSize()
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize()に置き換えられています。
    Dimension TextArea.preferredSize​(int rows, int columns)
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize(int, int)に置き換えられています。
    Dimension TextField.preferredSize()
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize()に置き換えられています。
    Dimension TextField.preferredSize​(int columns)
    Deprecated.
    JDK Version 1.1以降は、getPreferredSize(int)に置き換えられています。
    protected static void AWTKeyStroke.registerSubclass​(Class<?> subclass)
    Deprecated. 
    void TextArea.replaceText​(String str, int start, int end)
    Deprecated.
    JDK Version 1.1以降は、replaceRange(String, int, int)に置き換えられています。
    void Component.reshape​(int x, int y, int width, int height)
    Deprecated.
    JDK Version 1.1以降は、setBounds(int, int, int, int)に置き換えられています。
    void Rectangle.reshape​(int x, int y, int width, int height)
    Deprecated.
    JDK Version 1.1以降は、setBounds(int, int, int, int)に置き換えられています。
    void Window.reshape​(int x, int y, int width, int height)
    Deprecated.
    JDK Version 1.1以降は、setBounds(int, int, int, int)に置き換えられています。
    void Component.resize​(int width, int height)
    Deprecated.
    JDK Version 1.1以降は、setSize(int, int)に置き換えられています。
    void Component.resize​(Dimension d)
    Deprecated.
    JDK Version 1.1以降は、setSize(Dimension)に置き換えられています。
    void Rectangle.resize​(int width, int height)
    Deprecated.
    JDK Version 1.1以降は、setSize(int, int)に置き換えられています。
    void CheckboxGroup.setCurrent​(Checkbox box)
    Deprecated.
    JDK Version 1.1以降は、setSelectedCheckbox(Checkbox)に置き換えられています。
    void Frame.setCursor​(int cursorType)
    Deprecated.
    JDK Version 1.1以降は、Component.setCursor(Cursor)に置き換えられています。
    void TextField.setEchoCharacter​(char c)
    Deprecated.
    JDK Version 1.1以降は、setEchoChar(char)に置き換えられています。
    void Scrollbar.setLineIncrement​(int v)
    Deprecated.
    JDK Version 1.1以降は、setUnitIncrement(int)に置き換えられています。
    void List.setMultipleSelections​(boolean b)
    Deprecated.
    JDK Version 1.1以降は、setMultipleMode(boolean)に置き換えられています。
    void Scrollbar.setPageIncrement​(int v)
    Deprecated.
    JDK Version 1.1以降は、setBlockIncrement()に置き換えられています。
    void Component.show()
    Deprecated.
    JDK Version 1.1以降は、setVisible(boolean)に置き換えられています。
    void Component.show​(boolean b)
    Deprecated.
    JDK Version 1.1以降は、setVisible(boolean)に置き換えられています。
    void Dialog.show()
    Deprecated.
    JDK Version 1.5以降は、setVisible(boolean)に置き換えられています。
    void Window.show()
    Deprecated.
    JDK Version 1.5以降は、Window.setVisible(boolean)に置き換えられています。
    Dimension Component.size()
    Deprecated.
    JDK Version 1.1以降は、getSize()に置き換えられています。
    Deprecatedの注釈を持つjava.awtのコンストラクタ
    コンストラクタ 説明
    AWTEvent​(Event event)
    Deprecated.
    代わりにAWTEvent(Object, int)を使用することをお勧めします
  • java.awt.colorでのDeprecatedの使用

    Deprecatedの注釈を使用するjava.awt.colorのメソッド
    修飾子と型 メソッド 説明
    protected void ICC_Profile.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
  • java.awt.datatransferでのDeprecatedの使用

    Deprecated型の注釈を持つjava.awt.datatransferのフィールド 
    修飾子と型 フィールド 説明
    static DataFlavor DataFlavor.plainTextFlavor
    Deprecated.
    1.3以降。
    Deprecated型の注釈を持つjava.awt.datatransferのメソッド 
    修飾子と型 メソッド 説明
    boolean DataFlavor.equals​(String s)
    Deprecated.
    hashCode()契約と矛盾するので、代わりにDataFlavor.isMimeTypeEqual(String)を使用してください。
    protected String DataFlavor.normalizeMimeType​(String mimeType)
    Deprecated.
    1.1以降では、このメソッドがこの実装によって呼び出されることはありません
    protected String DataFlavor.normalizeMimeTypeParameter​(String parameterName, String parameterValue)
    Deprecated.
    1.1以降では、このメソッドがこの実装によって呼び出されることはありません
  • java.awt.eventでのDeprecatedの使用

    Deprecatedの注釈を持つjava.awt.eventのフィールド
    修飾子と型 フィールド 説明
    static int InputEvent.ALT_GRAPH_MASK
    Deprecated.
    代わりにALT_GRAPH_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします
    static int InputEvent.ALT_MASK
    Deprecated.
    代わりにALT_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします
    static int InputEvent.BUTTON1_MASK
    Deprecated.
    代わりにBUTTON1_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします
    static int InputEvent.BUTTON2_MASK
    Deprecated.
    代わりにBUTTON2_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします。
    static int InputEvent.BUTTON3_MASK
    Deprecated.
    代わりにBUTTON3_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします。
    static int InputEvent.CTRL_MASK
    Deprecated.
    代わりにCTRL_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします
    static int InputEvent.META_MASK
    Deprecated.
    代わりにMETA_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします
    static int InputEvent.SHIFT_MASK
    Deprecated.
    代わりにSHIFT_DOWN_MASKとInputEvent.getModifiersEx()を使用することをお勧めします
    Deprecated型の注釈を持つjava.awt.eventのメソッド 
    修飾子と型 メソッド 説明
    static String KeyEvent.getKeyModifiersText​(int modifiers)
    Deprecated.
    代わりに拡張修飾キーとInputEvent.getModifiersExText(int)を使用することをお勧めします
    int InputEvent.getModifiers()
    Deprecated.
    代わりに拡張修飾キーとInputEvent.getModifiersEx()を使用することをお勧めします
    void KeyEvent.setModifiers​(int modifiers)
    Deprecated.
    JDK1.1.4以降
    Deprecated型の注釈を持つjava.awt.eventのコンストラクタ 
    コンストラクタ 説明
    KeyEvent​(Component source, int id, long when, int modifiers, int keyCode)
    Deprecated.
    JDK 1.1以降。代わりにKeyEvent(Component, int, long, int, int, char)を使用してください
  • java.awt.imageでのDeprecatedの使用

    Deprecatedの注釈を使用するjava.awt.imageのメソッド
    修飾子と型 メソッド 説明
    void ColorModel.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
    void IndexColorModel.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
  • java.awt.image.renderableでのDeprecatedの使用

    Deprecated型の注釈を持つjava.awt.image.renderableのメソッド 
    修飾子と型 メソッド 説明
    void RenderContext.concetenateTransform​(AffineTransform modTransform)
    Deprecated.
    concatenateTransform(AffineTransform)に置き換えられています。
    void RenderContext.preConcetenateTransform​(AffineTransform modTransform)
    Deprecated.
    preConcatenateTransform(AffineTransform)に置き換えられています。
  • java.beansでのDeprecatedの使用

    Deprecatedの注釈を持つjava.beansのクラス
    修飾子と型 インタフェース 説明
    interface  AppletInitializer
    Deprecated.
    Applet APIは推奨されていません。
    Deprecatedの注釈を使用するjava.beansのメソッド
    修飾子と型 メソッド 説明
    static Object Beans.instantiate​(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer)
    Deprecated.
    Applet APIは推奨されていないため、Beans.instantiate(ClassLoader, String, BeanContext)を使用することをお勧めします。
  • java.ioでのDeprecatedの使用

    Deprecated型の注釈を持つjava.ioのクラス 
    修飾子と型 クラス 説明
    class  LineNumberInputStream
    Deprecated.
    このクラスは、文字がバイトによって適切に表現されるという誤った認識を前提としています。
    class  StringBufferInputStream
    Deprecated.
    このクラスでは、文字からバイトへの変換が正しく行われません。
    Deprecated型の注釈を持つjava.ioのメソッド 
    修飾子と型 メソッド 説明
    String DataInputStream.readLine()
    Deprecated.
    このメソッドでは、バイトから文字への変換が正しく行われません。
    String ObjectInputStream.readLine()
    Deprecated.
    このメソッドでは、バイトから文字への変換が正しく行われません。
    String ByteArrayOutputStream.toString​(int hibyte)
    Deprecated.
    このメソッドでは、バイトから文字への変換が正しく行われません。
    URL File.toURL()
    Deprecated.
    このメソッドでは、URL内で使用できないエスケープ文字は自動的に変換できません。
    abstract void ObjectOutputStream.PutField.write​(ObjectOutput out)
    Deprecated.
    このメソッドは、PutFieldオブジェクトによって格納された値を適切な形式で書き込まないため、直列化ストリームが破壊されることがあります。
    Deprecated型の注釈を持つjava.ioのコンストラクタ 
    コンストラクタ 説明
    StreamTokenizer​(InputStream is)
    Deprecated.
    JDK Version 1.1以降、入力ストリームをトークン化するには、次のようにして入力ストリームを文字ストリームに変換することが推奨されています。
  • java.langでのDeprecatedの使用

    Deprecatedの注釈を持つjava.langのクラス
    修飾子と型 クラス 説明
    class  Compiler
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    JITコンパイラとその技術は、標準化されたインタフェースによって効果的に制御されるにはあまりにも幅があります。
    Deprecated型の注釈を持つjava.langのフィールド 
    修飾子と型 フィールド 説明
    static Character.UnicodeBlock Character.UnicodeBlock.SURROGATES_AREA
    Deprecated.
    Deprecated型の注釈を持つjava.langのメソッド 
    修飾子と型 メソッド 説明
    boolean ThreadGroup.allowThreadSuspension​(boolean b)
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    この呼出しの定義は、非推奨のThreadGroup.suspend()に依存します。
    void SecurityManager.checkMulticast​(InetAddress maddr, byte ttl)
    Deprecated.
    代わりに#checkPermission(java.security.Permission)を使用してください
    int Thread.countStackFrames()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このメソッドは、最初にスタック・フレーム数をカウントするように設計されていましたが、結果は明確に定義されておらず、スレッド機能に依存していました。
    protected Class<?> ClassLoader.defineClass​(byte[] b, int off, int len)
    Deprecated.
    defineClass(String, byte[], int, int)に置き換えられています。
    protected void Object.finalize()
    Deprecated.
    ファイナライズの仕組みは本質的に問題です。
    void String.getBytes​(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
    Deprecated.
    このメソッドでは、文字からバイトへの変換が正しく行われません。
    protected Package ClassLoader.getPackage​(String name)
    Deprecated.
    複数のクラス・ローダーが互いに委譲して同じパッケージ名を持つクラスを定義し、そのようなローダーの1つがgetPackageのルックアップ動作に依存して親ローダーからPackageを返す場合、Packageによって公開されるプロパティは残りのプログラムで期待どおりにならない場合があります。
    static Package Package.getPackage​(String name)
    Deprecated.
    複数のクラス・ローダーが互いに委譲して同じパッケージ名を持つクラスを定義し、そのようなローダーの1つがgetPackageのルックアップ動作に依存して親ローダーからPackageを返す場合、Packageによって公開されるプロパティは残りのプログラムで期待どおりにならない場合があります。
    static boolean Character.isJavaLetter​(char ch)
    Deprecated.
    isJavaIdentifierStart(char)に置き換えられました。
    static boolean Character.isJavaLetterOrDigit​(char ch)
    Deprecated.
    isJavaIdentifierPart(char)に置き換えられました。
    static boolean Character.isSpace​(char ch)
    Deprecated.
    isWhitespace(char)に置き換えられました。
    int Runtime.Version.major()
    Deprecated.
    Java SE 10以降、バージョン番号の最初の要素はメジャー・リリース番号ではなく、機能リリース・カウンタであり、タイム・ベースのリリースごとに増分されています。
    int Runtime.Version.minor()
    Deprecated.
    Java SE 10以降、バージョン番号の2番目の要素は、マイナー・リリース番号ではなく、暫定リリースごとに増加する暫定リリース・カウンタです。
    T Class.newInstance()
    Deprecated.
    このメソッドは、チェック例外を含むnullaryコンストラクタによってスローされた例外をすべて伝播します。
    void Thread.resume()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このメソッドはThread.suspend()とともに使用するためにのみ存在しますが、これはデッドロックを発生させやすいため推奨されていません。
    void ThreadGroup.resume()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このメソッドはThread.suspendおよびThreadGroup.suspendとの組合せでのみ使用されますが、これらはどちらも本質的にデッドロックを発生させやすいため推奨されていません。
    int Runtime.Version.security()
    Deprecated.
    Java SE 10以降、バージョン番号の3番目の要素はセキュリティ・レベルではなく、更新リリースごとに増分されるupdate-releaseカウンタです。
    void Thread.stop()
    Deprecated.
    このメソッドは本質的に安全ではありません。
    void ThreadGroup.stop()
    Deprecated.
    このメソッドは本質的に安全ではありません。
    void Thread.suspend()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このメソッドはデッドロックを発生しやすいため非推奨です。
    void ThreadGroup.suspend()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このメソッドは本質的にデッドロックを発生させやすくなっています。
    Deprecated型の注釈を持つjava.langのコンストラクタ 
    コンストラクタ 説明
    Boolean​(boolean value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Boolean​(String s)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Byte​(byte value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Byte​(String s)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Character​(char value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Double​(double value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Double​(String s)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Float​(double value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Float​(float value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Float​(String s)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Integer​(int value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Integer​(String s)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Long​(long value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Long​(String s)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Short​(short value)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    Short​(String s)
    Deprecated.
    このコンストラクタを使用することはほとんどありません。
    String​(byte[] ascii, int hibyte)
    Deprecated.
    このメソッドでは、バイトから文字への変換が正しく行われません。
    String​(byte[] ascii, int hibyte, int offset, int count)
    Deprecated.
    このメソッドでは、バイトから文字への変換が正しく行われません。
  • java.lang.invokeでのDeprecatedの使用

    Deprecatedの注釈を使用するjava.lang.invokeのメソッド 
    修飾子と型 メソッド 説明
    boolean MethodHandles.Lookup.hasPrivateAccess()
    Deprecated.
    このメソッドは、当初は、完全な権限アクセスを意味するPRIVATEアクセスをテストするように設計されましたが、MODULEアクセスはPRIVATEアクセスから独立しているためです。
    Deprecatedの注釈を持つjava.lang.invokeのコンストラクタ 
    コンストラクタ 説明
    ConstantBootstraps()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
  • java.lang.reflectでのDeprecatedの使用

    Deprecatedの注釈を使用するjava.lang.reflectのメソッド
    修飾子と型 メソッド 説明
    static Class<?> Proxy.getProxyClass​(ClassLoader loader, Class<?>... interfaces)
    Deprecated.
    名前付きモジュールで生成されたプロキシ・クラスはカプセル化され、モジュール外のコードにはアクセスできません。
    boolean AccessibleObject.isAccessible()
    Deprecated.
    このメソッドは、Java言語のアクセス制御のチェックが抑制されているかどうかを実際に示しているときに、反映されたオブジェクトにアクセス可能かどうかを調べるというヒントを持つため、非推奨です。
    Deprecatedの注釈を持つjava.lang.reflectのコンストラクタ 
    コンストラクタ 説明
    Modifier()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
  • java.mathでのDeprecatedの使用

    Deprecatedの注釈を持つjava.mathのフィールド
    修飾子と型 フィールド 説明
    static int BigDecimal.ROUND_CEILING
    Deprecated.
    代わりにRoundingMode.CEILINGを使用してください。
    static int BigDecimal.ROUND_DOWN
    Deprecated.
    代わりにRoundingMode.DOWNを使用してください。
    static int BigDecimal.ROUND_FLOOR
    Deprecated.
    代わりにRoundingMode.FLOORを使用してください。
    static int BigDecimal.ROUND_HALF_DOWN
    Deprecated.
    代わりにRoundingMode.HALF_DOWNを使用してください。
    static int BigDecimal.ROUND_HALF_EVEN
    Deprecated.
    代わりにRoundingMode.HALF_EVENを使用してください。
    static int BigDecimal.ROUND_HALF_UP
    Deprecated.
    代わりにRoundingMode.HALF_UPを使用してください。
    static int BigDecimal.ROUND_UNNECESSARY
    Deprecated.
    代わりにRoundingMode.UNNECESSARYを使用してください。
    static int BigDecimal.ROUND_UP
    Deprecated.
    代わりにRoundingMode.UPを使用してください。
    Deprecatedの注釈を使用するjava.mathのメソッド
    修飾子と型 メソッド 説明
    BigDecimal BigDecimal.divide​(BigDecimal divisor, int roundingMode)
    Deprecated.
    このBigDecimal.divide(BigDecimal, RoundingMode)メソッドは、このレガシー・メソッドに優先して使用する必要があります。
    BigDecimal BigDecimal.divide​(BigDecimal divisor, int scale, int roundingMode)
    Deprecated.
    このBigDecimal.divide(BigDecimal, int, RoundingMode)メソッドは、このレガシー・メソッドに優先して使用する必要があります。
    BigDecimal BigDecimal.setScale​(int newScale, int roundingMode)
    Deprecated.
    このBigDecimal.setScale(int, RoundingMode)メソッドは、このレガシー・メソッドに優先して使用する必要があります。
  • java.netでのDeprecatedの使用

    Deprecated型の注釈を持つjava.netのフィールド 
    修飾子と型 フィールド 説明
    static int HttpURLConnection.HTTP_SERVER_ERROR
    Deprecated.
    間違ったフィールドであり、存在するべきではありません。
    Deprecated型の注釈を持つjava.netのメソッド 
    修飾子と型 メソッド 説明
    static String URLDecoder.decode​(String s)
    Deprecated.
    プラットフォームのデフォルトのエンコーディングに応じて、結果として得られる文字列が変わる可能性があります。
    static String URLEncoder.encode​(String s)
    Deprecated.
    プラットフォームのデフォルトのエンコーディングに応じて、結果として得られる文字列が変わる可能性があります。
    static String URLConnection.getDefaultRequestProperty​(String key)
    Deprecated.
    URLConnectionの該当インスタンスを取得したあとは、インスタンス固有のgetRequestPropertyメソッドを使用します。
    InetAddress MulticastSocket.getInterface()
    Deprecated.
    ネットワーク・インタフェースは、戻されたInetAddressによって一意に識別されない場合があります。
    boolean MulticastSocket.getLoopbackMode()
    Deprecated.
    かわりに、DatagramSocket.getOption(SocketOption)StandardSocketOptions.IP_MULTICAST_LOOPとともに使用してください。
    protected abstract byte DatagramSocketImpl.getTTL()
    Deprecated.
    代わりにgetTimeToLiveを使用してください。
    byte MulticastSocket.getTTL()
    Deprecated.
    代わりにgetTimeToLiveメソッドを使用してください。このメソッドは、byteではなくintを返します。
    void MulticastSocket.joinGroup​(InetAddress mcastaddr)
    Deprecated.
    このメソッドは、マルチキャスト・グループに参加するネットワーク・インタフェースを受け入れません。
    void MulticastSocket.leaveGroup​(InetAddress mcastaddr)
    Deprecated.
    このメソッドは、マルチキャスト・グループから脱退するネットワーク・インタフェースを受け入れません。
    void MulticastSocket.send​(DatagramPacket p, byte ttl)
    Deprecated.
    代わりに次のコードまたは同等のコードを使用してください: ......
    static void URLConnection.setDefaultRequestProperty​(String key, String value)
    Deprecated.
    URLConnectionの該当インスタンスを取得したあとは、インスタンス固有のsetRequestPropertyメソッドを使用します。
    void MulticastSocket.setInterface​(InetAddress inf)
    Deprecated.
    InetAddressではネットワーク・インタフェースを一意に識別できない場合があります。
    void MulticastSocket.setLoopbackMode​(boolean disable)
    Deprecated.
    かわりに、DatagramSocket.setOption(SocketOption, Object)StandardSocketOptions.IP_MULTICAST_LOOPとともに使用してください。
    protected abstract void DatagramSocketImpl.setTTL​(byte ttl)
    Deprecated.
    代わりにsetTimeToLiveを使用してください。
    void MulticastSocket.setTTL​(byte ttl)
    Deprecated.
    代わりにsetTimeToLiveメソッドを使用してください。このメソッドはttlの型として、byteではなくintを使用します。
    protected void URLStreamHandler.setURL​(URL u, String protocol, String host, int port, String file, String ref)
    Deprecated.
    setURL(URL、String、int、String、String、String、String)を使用してください。
    Deprecated型の注釈を持つjava.netのコンストラクタ 
    コンストラクタ 説明
    Socket​(String host, int port, boolean stream)
    Deprecated.
    UDP転送ではなくDatagramSocketを使ってください。
    Socket​(InetAddress host, int port, boolean stream)
    Deprecated.
    UDP転送ではなくDatagramSocketを使ってください。
  • java.rmiでのDeprecatedの使用

    Deprecated型の注釈を持つjava.rmiのクラス 
    修飾子と型 クラス 説明
    class  RMISecurityException
    Deprecated.
    代わりにSecurityExceptionを使用してください。
    class  RMISecurityManager
    Deprecated.
    代わりにSecurityManagerを使用してください。
    class  ServerRuntimeException
    Deprecated.
    代替はありません。
    Deprecated型の注釈を持つjava.rmiのコンストラクタ 
    コンストラクタ 説明
    RMISecurityException​(String name)
    Deprecated.
    代替はありません。
    RMISecurityException​(String name, String arg)
    Deprecated.
    代替はありません。
    ServerRuntimeException​(String s, Exception ex)
    Deprecated.
    代替はありません。
  • java.rmi.dgcでのDeprecatedの使用

    Deprecated型の注釈を持つjava.rmi.dgcのメソッド 
    修飾子と型 メソッド 説明
    static boolean VMID.isUnique()
    Deprecated. 
  • java.rmi.registryでのDeprecatedの使用

    Deprecated型の注釈を持つjava.rmi.registryのクラス 
    修飾子と型 インタフェース 説明
    interface  RegistryHandler
    Deprecated.
    代替はありません。
    Deprecated型の注釈を持つjava.rmi.registryのメソッド 
    修飾子と型 メソッド 説明
    Registry RegistryHandler.registryImpl​(int port)
    Deprecated.
    代替はありません。
    Registry RegistryHandler.registryStub​(String host, int port)
    Deprecated.
    代替はありません。
  • java.rmi.serverでのDeprecatedの使用

    Deprecated型の注釈を持つjava.rmi.serverのクラス 
    修飾子と型 インタフェース 説明
    interface  LoaderHandler
    Deprecated.
    代替はありません。
    class  LogStream
    Deprecated.
    代替はありません。
    class  Operation
    Deprecated.
    代替はありません。
    interface  RemoteCall
    Deprecated.
    代替はありません。
    class  RemoteStub
    Deprecated.
    スタブは動的に生成されるため、静的に生成されたスタブは推奨されていません。
    interface  ServerRef
    Deprecated.
    代替はありません。
    interface  Skeleton
    Deprecated.
    代替はありません。
    class  SkeletonMismatchException
    Deprecated.
    代替はありません。
    class  SkeletonNotFoundException
    Deprecated.
    代替はありません。
    class  SocketSecurityException
    Deprecated.
    このクラスは廃止されました。
    Deprecatedの注釈を持つjava.rmi.serverのフィールド
    修飾子と型 フィールド 説明
    static long RemoteRef.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long ServerRef.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    Deprecated型の注釈を持つjava.rmi.serverのメソッド 
    修飾子と型 メソッド 説明
    void Skeleton.dispatch​(Remote obj, RemoteCall theCall, int opnum, long hash)
    Deprecated.
    代替はありません。
    void RemoteCall.done()
    Deprecated.
    代替はありません。
    void RemoteRef.done​(RemoteCall call)
    Deprecated.
    1.2形式のスタブは、このメソッドを使用しなくなりました。
    void RemoteCall.executeCall()
    Deprecated.
    代替はありません。
    static RemoteStub UnicastRemoteObject.exportObject​(Remote obj)
    Deprecated.
    このメソッドは、静的スタブのみをサポートするため、非推奨になりました。
    static PrintStream LogStream.getDefaultStream()
    Deprecated.
    代替はありません。
    ObjectInput RemoteCall.getInputStream()
    Deprecated.
    代替はありません。
    String Operation.getOperation()
    Deprecated.
    代替はありません。
    Operation[] Skeleton.getOperations()
    Deprecated.
    代替はありません。
    OutputStream LogStream.getOutputStream()
    Deprecated.
    代替はありません。
    ObjectOutput RemoteCall.getOutputStream()
    Deprecated.
    代替はありません。
    ObjectOutput RemoteCall.getResultStream​(boolean success)
    Deprecated.
    代替はありません。
    Object LoaderHandler.getSecurityContext​(ClassLoader loader)
    Deprecated.
    代替はありません。
    static Object RMIClassLoader.getSecurityContext​(ClassLoader loader)
    Deprecated.
    代替はありません。
    void RemoteRef.invoke​(RemoteCall call)
    Deprecated.
    1.2形式のスタブは、このメソッドを使用しなくなりました。
    Class<?> LoaderHandler.loadClass​(String name)
    Deprecated.
    代替はありません。
    Class<?> LoaderHandler.loadClass​(URL codebase, String name)
    Deprecated.
    代替はありません。
    static Class<?> RMIClassLoader.loadClass​(String name)
    Deprecated.
    loadClass(String,String)メソッドに置き換えられています
    static LogStream LogStream.log​(String name)
    Deprecated.
    代替はありません。
    RemoteCall RemoteRef.newCall​(RemoteObject obj, Operation[] op, int opnum, long hash)
    Deprecated.
    1.2形式のスタブは、このメソッドを使用しなくなりました。
    static int LogStream.parseLevel​(String s)
    Deprecated.
    代替はありません。
    void RemoteCall.releaseInputStream()
    Deprecated.
    代替はありません。
    void RemoteCall.releaseOutputStream()
    Deprecated.
    代替はありません。
    static void LogStream.setDefaultStream​(PrintStream newDefault)
    Deprecated.
    代替はありません。
    void LogStream.setOutputStream​(OutputStream out)
    Deprecated.
    代替はありません。
    protected static void RemoteStub.setRef​(RemoteStub stub, RemoteRef ref)
    Deprecated.
    代替はありません。
    String LogStream.toString()
    Deprecated.
    代替はありません。
    String Operation.toString()
    Deprecated.
    代替はありません。
    void LogStream.write​(byte[] b, int off, int len)
    Deprecated.
    代替はありません。
    void LogStream.write​(int b)
    Deprecated.
    代替はありません。
    Deprecated型の注釈を持つjava.rmi.serverのコンストラクタ 
    コンストラクタ 説明
    Operation​(String op)
    Deprecated.
    代替はありません。
    SkeletonMismatchException​(String s)
    Deprecated.
    代替はありません。
  • java.securityでのDeprecatedの使用

    Deprecated型の注釈を持つjava.securityのクラス 
    修飾子と型 インタフェース 説明
    interface  Certificate
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このクラスは推奨されなくなり、Java SEの将来のバージョンで削除される可能性があります。
    class  Identity
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このクラスは推奨されなくなり、Java SEの将来のバージョンで削除される可能性があります。
    class  IdentityScope
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このクラスは推奨されなくなり、Java SEの将来のバージョンで削除される可能性があります。
    class  Signer
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このクラスは推奨されなくなり、Java SEの将来のバージョンで削除される可能性があります。
    Deprecatedの注釈を持つjava.securityのフィールド
    修飾子と型 フィールド 説明
    static long Key.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long PrivateKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long PublicKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    Deprecated型の注釈を持つjava.securityのメソッド 
    修飾子と型 メソッド 説明
    protected abstract Object SignatureSpi.engineGetParameter​(String param)
    Deprecated. 
    protected abstract void SignatureSpi.engineSetParameter​(String param, Object value)
    Deprecated.
    engineSetParameterに置き換えられています。
    static String Security.getAlgorithmProperty​(String algName, String propName)
    Deprecated.
    このメソッドは、アルゴリズム固有のパラメータの構文解析方法を決定するため、SUN暗号化サービス・プロバイダのマスター・ファイル内にある独自のプロパティの値を返すために使用されます。
    Object Signature.getParameter​(String param)
    Deprecated. 
    double Provider.getVersion()
    Deprecated.
    代わりにProvider.getVersionStr()を使用してください。
    void Signature.setParameter​(String param, Object value)
    Deprecated.
    setParameterを使用してください。
    Deprecatedの注釈を持つjava.securityのコンストラクタ
    コンストラクタ 説明
    AuthProvider​(String name, double version, String info)
    Deprecated.
    代わりにAuthProvider(String, String, String)を使用してください。
    Provider​(String name, double version, String info)
    Deprecated.
    代わりにProvider(String, String, String)を使用してください。
  • java.security.interfacesでのDeprecatedの使用

    Deprecatedの注釈を持つjava.security.interfacesのフィールド
    修飾子と型 フィールド 説明
    static long DSAPrivateKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long DSAPublicKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long ECPrivateKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long ECPublicKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long RSAMultiPrimePrivateCrtKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long RSAPrivateCrtKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long RSAPrivateKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long RSAPublicKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
  • java.sqlでのDeprecatedの使用

    Deprecated型の注釈を持つjava.sqlのメソッド 
    修飾子と型 メソッド 説明
    BigDecimal CallableStatement.getBigDecimal​(int parameterIndex, int scale)
    Deprecated.
    getBigDecimal(int parameterIndex)またはgetBigDecimal(String parameterName)を使用します。
    BigDecimal ResultSet.getBigDecimal​(int columnIndex, int scale)
    Deprecated.
    getBigDecimal(int columnIndex)またはgetBigDecimal(String columnLabel)を使用します。
    BigDecimal ResultSet.getBigDecimal​(String columnLabel, int scale)
    Deprecated.
    getBigDecimal(int columnIndex)またはgetBigDecimal(String columnLabel)を使用します。
    int Time.getDate()
    Deprecated. 
    int Time.getDay()
    Deprecated. 
    int Date.getHours()
    Deprecated. 
    static PrintStream DriverManager.getLogStream()
    Deprecated.
    getLogWriterを使用
    int Date.getMinutes()
    Deprecated. 
    int Time.getMonth()
    Deprecated. 
    int Date.getSeconds()
    Deprecated. 
    InputStream ResultSet.getUnicodeStream​(int columnIndex)
    Deprecated.
    getUnicodeStreamの代わりにgetCharacterStreamを使用
    InputStream ResultSet.getUnicodeStream​(String columnLabel)
    Deprecated.
    代わりにgetCharacterStreamを使用してください
    int Time.getYear()
    Deprecated. 
    void Time.setDate​(int i)
    Deprecated. 
    void Date.setHours​(int i)
    Deprecated. 
    static void DriverManager.setLogStream​(PrintStream out)
    Deprecated.
    setLogWriterを使用
    void Date.setMinutes​(int i)
    Deprecated. 
    void Time.setMonth​(int i)
    Deprecated. 
    void Date.setSeconds​(int i)
    Deprecated. 
    void PreparedStatement.setUnicodeStream​(int parameterIndex, InputStream x, int length)
    Deprecated.
    setCharacterStreamを使用
    void Time.setYear​(int i)
    Deprecated. 
    Deprecated型の注釈を持つjava.sqlのコンストラクタ 
    コンストラクタ 説明
    Date​(int year, int month, int day)
    Deprecated.
    代わりに、次のコンストラクタを使用してください: Date(long date)
    Time​(int hour, int minute, int second)
    Deprecated.
    このコンストラクタの代わりにミリ秒の値をとるコンストラクタを使用してください。
    Timestamp​(int year, int month, int date, int hour, int minute, int second, int nano)
    Deprecated.
    代わりに、コンストラクタTimestamp(long millis)を使用してください
  • java.utilでのDeprecatedの使用

    Deprecatedの注釈を持つjava.utilのクラス
    修飾子と型 クラス 説明
    class  Observable
    Deprecated.
    このクラスとObserverインタフェースは推奨されていません。
    interface  Observer
    Deprecated.
    このインタフェースは推奨されていません。
    Deprecated型の注釈を持つjava.utilのメソッド 
    修飾子と型 メソッド 説明
    int Date.getDate()
    Deprecated.
    JDK Version 1.1以降は、Calendar.get(Calendar.DAY_OF_MONTH)に置き換えられています。
    int Date.getDay()
    Deprecated.
    JDK Version 1.1以降は、Calendar.get(Calendar.DAY_OF_WEEK)に置き換えられています。
    int Date.getHours()
    Deprecated.
    JDK Version 1.1以降は、Calendar.get(Calendar.HOUR_OF_DAY)に置き換えられています。
    int Date.getMinutes()
    Deprecated.
    JDK Version 1.1以降は、Calendar.get(Calendar.MINUTE)に置き換えられています。
    int Date.getMonth()
    Deprecated.
    JDK Version 1.1以降は、Calendar.get(Calendar.MONTH)に置き換えられています。
    int Date.getSeconds()
    Deprecated.
    JDK Version 1.1以降は、Calendar.get(Calendar.SECOND)に置き換えられています。
    int Date.getTimezoneOffset()
    Deprecated.
    JDK Version 1.1以降は、-(Calendar.get(Calendar.ZONE_OFFSET)+Calendar.get(Calendar.DST_OFFSET))/(60 * 1000)に置き換えられています。
    int Date.getYear()
    Deprecated.
    JDK Version 1.1以降は、Calendar.get(Calendar.YEAR) - 1900に置き換えられています。
    static long Date.parse​(String s)
    Deprecated.
    JDK Version 1.1以降は、DateFormat.parse(String s)に置き換えられています。
    void Properties.save​(OutputStream out, String comments)
    Deprecated.
    このメソッドは、プロパティ・リストの保存中に入出力エラーが発生しても、IOExceptionをスローしません。
    void Date.setDate​(int date)
    Deprecated.
    JDK Version 1.1以降は、Calendar.set(Calendar.DAY_OF_MONTH, int date)に置き換えられています。
    void Date.setHours​(int hours)
    Deprecated.
    JDK Version 1.1以降は、Calendar.set(Calendar.HOUR_OF_DAY, int hours)に置き換えられています。
    void Date.setMinutes​(int minutes)
    Deprecated.
    JDK Version 1.1以降は、Calendar.set(Calendar.MINUTE, int minutes)に置き換えられています。
    void Date.setMonth​(int month)
    Deprecated.
    JDK Version 1.1以降は、Calendar.set(Calendar.MONTH, int month)に置き換えられています。
    void Date.setSeconds​(int seconds)
    Deprecated.
    JDK Version 1.1以降は、Calendar.set(Calendar.SECOND, int seconds)に置き換えられています。
    void Date.setYear​(int year)
    Deprecated.
    JDK Version 1.1以降は、Calendar.set(Calendar.YEAR, year+1900)に置き換えられています。
    String Date.toGMTString()
    Deprecated.
    JDK version 1.1以降は、GMT TimeZoneを使用するDateFormat.format(Date date)に置き換えられています。
    String Date.toLocaleString()
    Deprecated.
    JDK Version 1.1以降は、DateFormat.format(Date date)に置き換えられています。
    static long Date.UTC​(int year, int month, int date, int hrs, int min, int sec)
    Deprecated.
    JDK Version 1.1以降は、Calendar.set(year+1900, month, date, hrs, min, sec)またはGregorianCalendar(year+1900, month, date, hrs, min, sec)に置き換えられています。UTC TimeZoneを使用し、Calendar.getTime().getTime()があとに続きます。
    Deprecated型の注釈を持つjava.utilのコンストラクタ 
    コンストラクタ 説明
    Date​(int year, int month, int date)
    Deprecated.
    JDK version 1.1以降は、Calendar.set(year+1900, month, date)またはGregorianCalendar(year+1900, month, date)に置き換えられています。
    Date​(int year, int month, int date, int hrs, int min)
    Deprecated.
    JDK version 1.1以降は、Calendar.set(year+1900, month, date, hrs, min)またはGregorianCalendar(year+1900, month, date, hrs, min)に置き換えられています。
    Date​(int year, int month, int date, int hrs, int min, int sec)
    Deprecated.
    JDK version 1.1以降は、Calendar.set(year+1900, month, date, hrs, min, sec)またはGregorianCalendar(year+1900, month, date, hrs, min, sec)に置き換えられています。
    Date​(String s)
    Deprecated.
    JDK Version 1.1以降は、DateFormat.parse(String s)に置き換えられています。
  • java.util.concurrentでのDeprecatedの使用

    Deprecatedの注釈を使用するjava.util.concurrentのメソッド
    修飾子と型 メソッド 説明
    protected void ThreadPoolExecutor.finalize()
    Deprecated.
  • java.util.concurrent.atomicでのDeprecatedの使用

    Deprecatedの注釈を使用するjava.util.concurrent.atomicのメソッド
    修飾子と型 メソッド 説明
    boolean AtomicBoolean.weakCompareAndSet​(boolean expectedValue, boolean newValue)
    Deprecated.
    このメソッドは単純なメモリー効果を持ちますが、メソッド名は揮発性メモリー効果(AtomicBoolean.compareAndExchange(boolean, boolean)AtomicBoolean.compareAndSet(boolean, boolean)などのメソッドを参照してください)を意味します。
    boolean AtomicInteger.weakCompareAndSet​(int expectedValue, int newValue)
    Deprecated.
    このメソッドは単純なメモリー効果を持ちますが、メソッド名は揮発性メモリー効果(AtomicInteger.compareAndExchange(int, int)AtomicInteger.compareAndSet(int, int)などのメソッドを参照してください)を意味します。
    boolean AtomicIntegerArray.weakCompareAndSet​(int i, int expectedValue, int newValue)
    Deprecated.
    このメソッドは単純なメモリー効果を持ちますが、メソッド名は揮発性メモリー効果(AtomicIntegerArray.compareAndExchange(int, int, int)AtomicIntegerArray.compareAndSet(int, int, int)などのメソッドを参照してください)を意味します。
    boolean AtomicLong.weakCompareAndSet​(long expectedValue, long newValue)
    Deprecated.
    このメソッドは単純なメモリー効果を持ちますが、メソッド名は揮発性メモリー効果(AtomicLong.compareAndExchange(long, long)AtomicLong.compareAndSet(long, long)などのメソッドを参照してください)を意味します。
    boolean AtomicLongArray.weakCompareAndSet​(int i, long expectedValue, long newValue)
    Deprecated.
    このメソッドは単純なメモリー効果を持ちますが、メソッド名は揮発性メモリー効果(AtomicLongArray.compareAndExchange(int, long, long)AtomicLongArray.compareAndSet(int, long, long)などのメソッドを参照してください)を意味します。
    boolean AtomicReference.weakCompareAndSet​(V expectedValue, V newValue)
    Deprecated.
    このメソッドは単純なメモリー効果を持ちますが、メソッド名は揮発性メモリー効果(AtomicReference.compareAndExchange(V, V)AtomicReference.compareAndSet(V, V)などのメソッドを参照してください)を意味します。
    boolean AtomicReferenceArray.weakCompareAndSet​(int i, E expectedValue, E newValue)
    Deprecated.
    このメソッドは単純なメモリー効果を持ちますが、メソッド名は揮発性メモリー効果(AtomicReferenceArray.compareAndExchange(int, E, E)AtomicReferenceArray.compareAndSet(int, E, E)などのメソッドを参照してください)を意味します。
  • java.util.jarでのDeprecatedの使用

    Deprecated型の注釈を持つjava.util.jarのフィールド 
    修飾子と型 フィールド 説明
    static Attributes.Name Attributes.Name.EXTENSION_INSTALLATION
    Deprecated.
    拡張機構はもはやサポートされていません。
    static Attributes.Name Attributes.Name.IMPLEMENTATION_URL
    Deprecated.
    拡張機構はもはやサポートされていません。
    static Attributes.Name Attributes.Name.IMPLEMENTATION_VENDOR_ID
    Deprecated.
    拡張機構はもはやサポートされていません。
  • java.util.loggingでのDeprecatedの使用

    Deprecatedの注釈を持つjava.util.loggingのクラス
    修飾子と型 インタフェース 説明
    interface  LoggingMXBean
    Deprecated.
    LoggingMXBeanはもはやplatform MXBeanでなく、PlatformLoggingMXBeanに置き換えられました。
    Deprecated型の注釈を持つjava.util.loggingのフィールド 
    修飾子と型 フィールド 説明
    static Logger Logger.global
    Deprecated.
    このフィールドの初期化時にデッドロックが発生する可能性があります。
    Deprecated型の注釈を持つjava.util.loggingのメソッド 
    修飾子と型 メソッド 説明
    static LoggingMXBean LogManager.getLoggingMXBean()
    Deprecated.
    java.util.logging.LoggingMXBeanは非推奨され、java.lang.management.PlatformLoggingMXBeanに置き換えられました。
    void Logger.logrb​(Level level, String sourceClass, String sourceMethod, String bundleName, String msg)
    void Logger.logrb​(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1)
    void Logger.logrb​(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)
    void Logger.logrb​(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)
    void LogRecord.setMillis​(long millis)
    Deprecated.
    LogRecordは、Instant値を使用して、ナノ秒の分解能でタイムスタンプを維持します。
  • javax.accessibilityでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.accessibilityのクラス 
    修飾子と型 クラス 説明
    class  AccessibleResourceBundle
    Deprecated.
    Javaプラットフォームのバージョン1.3以降では、このクラスは非推奨です
  • javax.cryptoでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.cryptoのフィールド
    修飾子と型 フィールド 説明
    static long SecretKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
  • javax.crypto.interfacesでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.crypto.interfacesのフィールド
    修飾子と型 フィールド 説明
    static long DHPrivateKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long DHPublicKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
    static long PBEKey.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
  • javax.imageio.spiでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.imageio.spiのフィールド 
    修飾子と型 フィールド 説明
    static Class<?>[] ImageReaderSpi.STANDARD_INPUT_TYPE
    Deprecated.
    このフィールドを使用する代わりに、同等の配列{ ImageInputStream.class }を直接作成してください。
    static Class<?>[] ImageWriterSpi.STANDARD_OUTPUT_TYPE
    Deprecated.
    このフィールドを使用する代わりに、同等の配列{ ImageOutputStream.class }を直接作成してください。
    Deprecatedの注釈を使用するjavax.imageio.spiのメソッド
    修飾子と型 メソッド 説明
    void ServiceRegistry.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
  • javax.imageio.streamでのDeprecatedの使用

    Deprecatedの注釈を使用するjavax.imageio.streamのメソッド
    修飾子と型 メソッド 説明
    protected void FileCacheImageInputStream.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
    protected void FileImageInputStream.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
    protected void FileImageOutputStream.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
    protected void ImageInputStreamImpl.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
    protected void MemoryCacheImageInputStream.finalize()
    Deprecated.
    finalizeメソッドは推奨されていません。
  • javax.lang.model.utilでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.lang.model.utilのコンストラクタ
    コンストラクタ 説明
    AbstractAnnotationValueVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    AbstractAnnotationValueVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    AbstractElementVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    AbstractElementVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    AbstractTypeVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    AbstractTypeVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementKindVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementKindVisitor6​(R defaultValue)
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementKindVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementKindVisitor7​(R defaultValue)
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementScanner6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementScanner6​(R defaultValue)
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementScanner7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    ElementScanner7​(R defaultValue)
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleAnnotationValueVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleAnnotationValueVisitor6​(R defaultValue)
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleAnnotationValueVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleAnnotationValueVisitor7​(R defaultValue)
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleElementVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleElementVisitor6​(R defaultValue)
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleElementVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleElementVisitor7​(R defaultValue)
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleTypeVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleTypeVisitor6​(R defaultValue)
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleTypeVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    SimpleTypeVisitor7​(R defaultValue)
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    TypeKindVisitor6()
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    TypeKindVisitor6​(R defaultValue)
    Deprecated.
    リリース6は廃止されました。新しいリリース・レベルのビジターに更新します。
    TypeKindVisitor7()
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
    TypeKindVisitor7​(R defaultValue)
    Deprecated.
    リリース7は廃止されました。新しいリリース・レベルのビジターに更新します。
  • javax.managementでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.managemenのクラス 
    修飾子と型 クラス 説明
    class  DefaultLoaderRepository
    Deprecated.
    代わりにMBeanServer.getClassLoaderRepository()を使用してください。
    Deprecated型の注釈を持つjavax.managementのメソッド 
    修飾子と型 メソッド 説明
    default ObjectInputStream MBeanServer.deserialize​(String className, byte[] data)
    Deprecated.
    MBeanServer.getClassLoaderRepository()を使ってクラス・ローダー・リポジトリを取得し、それを使って直列化復元を行います。
    default ObjectInputStream MBeanServer.deserialize​(String className, ObjectName loaderName, byte[] data)
    Deprecated.
    getClassLoaderを使って直列化復元用のクラス・ローダーを取得します。
    default ObjectInputStream MBeanServer.deserialize​(ObjectName name, byte[] data)
    Deprecated.
    getClassLoaderForを使って、直列化復元に使用する適切なクラス・ローダーを取得します。
    void AttributeValueExp.setMBeanServer​(MBeanServer s)
    Deprecated.
    このメソッドは何の効果も持ちません。
    void StringValueExp.setMBeanServer​(MBeanServer s)
    Deprecated.
    void ValueExp.setMBeanServer​(MBeanServer s)
    Deprecated.
    ValueExpはMBeanサーバーにアクセスし、QueryEval.getMBeanServer()を使って評価されるため、このメソッドは不要です。
    Deprecated型の注釈を持つjavax.managementのコンストラクタ 
    コンストラクタ 説明
    AttributeValueExp()
    Deprecated.
    このコンストラクタで作成されたインスタンスは、クエリー内では使用できません。
  • javax.management.loadingでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.management.loadingのクラス 
    修飾子と型 クラス 説明
    class  DefaultLoaderRepository
    Deprecated.
    代わりにMBeanServer.getClassLoaderRepository()を使用してください。
  • javax.management.monitorでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.management.monitorのフィールド 
    修飾子と型 フィールド 説明
    protected int Monitor.alreadyNotified
    Deprecated.
    Monitor.alreadyNotifieds[0]と同等です。
    protected String Monitor.dbgTag
    Deprecated.
    代替はありません。
    Deprecated型の注釈を持つjavax.management.monitorのメソッド 
    修飾子と型 メソッド 説明
    Number CounterMonitor.getDerivedGauge()
    Deprecated.
    JMX 1.2以降は、CounterMonitor.getDerivedGauge(ObjectName)に置き換えられています
    Number CounterMonitorMBean.getDerivedGauge()
    Deprecated.
    JMX 1.2以降は、CounterMonitorMBean.getDerivedGauge(ObjectName)に置き換えられています
    Number GaugeMonitor.getDerivedGauge()
    Deprecated.
    JMX 1.2以降は、GaugeMonitor.getDerivedGauge(ObjectName)に置き換えられています
    Number GaugeMonitorMBean.getDerivedGauge()
    Deprecated.
    JMX 1.2以降は、GaugeMonitorMBean.getDerivedGauge(ObjectName)に置き換えられています
    String StringMonitor.getDerivedGauge()
    Deprecated.
    JMX 1.2以降は、StringMonitor.getDerivedGauge(ObjectName)に置き換えられています
    String StringMonitorMBean.getDerivedGauge()
    Deprecated.
    JMX 1.2以降は、StringMonitorMBean.getDerivedGauge(ObjectName)に置き換えられています
    long CounterMonitor.getDerivedGaugeTimeStamp()
    Deprecated.
    JMX 1.2以降は、CounterMonitor.getDerivedGaugeTimeStamp(ObjectName)に置き換えられています
    long CounterMonitorMBean.getDerivedGaugeTimeStamp()
    Deprecated.
    JMX 1.2以降は、CounterMonitorMBean.getDerivedGaugeTimeStamp(ObjectName)に置き換えられています
    long GaugeMonitor.getDerivedGaugeTimeStamp()
    Deprecated.
    JMX 1.2以降は、GaugeMonitor.getDerivedGaugeTimeStamp(ObjectName)に置き換えられています
    long GaugeMonitorMBean.getDerivedGaugeTimeStamp()
    Deprecated.
    JMX 1.2以降は、GaugeMonitorMBean.getDerivedGaugeTimeStamp(ObjectName)に置き換えられています
    long StringMonitor.getDerivedGaugeTimeStamp()
    Deprecated.
    JMX 1.2以降は、StringMonitor.getDerivedGaugeTimeStamp(ObjectName)に置き換えられています
    long StringMonitorMBean.getDerivedGaugeTimeStamp()
    Deprecated.
    JMX 1.2以降は、StringMonitorMBean.getDerivedGaugeTimeStamp(ObjectName)に置き換えられています
    ObjectName Monitor.getObservedObject()
    Deprecated.
    JMX 1.2以降、次に置き換えられていますMonitor.getObservedObjects()
    ObjectName MonitorMBean.getObservedObject()
    Deprecated.
    JMX 1.2以降、次に置き換えられていますMonitorMBean.getObservedObjects()
    Number CounterMonitor.getThreshold()
    Deprecated.
    JMX 1.2以降は、CounterMonitor.getThreshold(ObjectName)に置き換えられています
    Number CounterMonitorMBean.getThreshold()
    Deprecated.
    JMX 1.2以降は、CounterMonitorMBean.getThreshold(ObjectName)に置き換えられています
    void Monitor.setObservedObject​(ObjectName object)
    Deprecated.
    JMX 1.2以降、次に置き換えられていますMonitor.addObservedObject(javax.management.ObjectName)
    void MonitorMBean.setObservedObject​(ObjectName object)
    Deprecated.
    JMX 1.2以降、次に置き換えられていますMonitorMBean.addObservedObject(javax.management.ObjectName)
    void CounterMonitor.setThreshold​(Number value)
    Deprecated.
    JMX 1.2以降は、CounterMonitor.setInitThreshold(java.lang.Number)に置き換えられています
    void CounterMonitorMBean.setThreshold​(Number value)
    Deprecated.
    JMX 1.2以降は、CounterMonitorMBean.setInitThreshold(java.lang.Number)に置き換えられています
  • javax.management.openmbeanでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.management.openmbeanのフィールド 
    修飾子と型 フィールド 説明
    static String[] OpenType.ALLOWED_CLASSNAMES
    Deprecated.
    代わりにALLOWED_CLASSNAMES_LISTを使用してください。
  • javax.management.remote.rmiでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.management.remote.rmiのクラス
    修飾子と型 クラス 説明
    class  RMIIIOPServerImpl
    Deprecated.
    このトランスポートはサポートされなくなりました。
    Deprecatedの注釈を持つjavax.management.remote.rmiのフィールド
    修飾子と型 フィールド 説明
    static String RMIConnectorServer.CREDENTIAL_TYPES
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにRMIConnectorServer.CREDENTIALS_FILTER_PATTERN「フィルタ・パターン」文字列で使用してください。
  • javax.namingでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.namingのフィールド
    修飾子と型 フィールド 説明
    static String Context.APPLET
    Deprecated.
    この名前の環境プロパティは、初期コンテキストを構築する際に無視されます。
    static long Name.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
  • javax.naming.directoryでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.naming.directoryのフィールド
    修飾子と型 フィールド 説明
    static long Attribute.serialVersionUID
    Deprecated.
    インタフェース内のserialVersionUIDフィールドは無効です。
  • javax.net.sslでのDeprecatedの使用

    Deprecatedの注釈を使用するjavax.net.sslのメソッド
    修飾子と型 メソッド 説明
    X509Certificate[] HandshakeCompletedEvent.getPeerCertificateChain()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    java.security.cert.Certificateの配列を返すHandshakeCompletedEvent.getPeerCertificates()メソッドを代わりに使用する必要があります。
    X509Certificate[] SSLSession.getPeerCertificateChain()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    java.security.cert.Certificateの配列を返すSSLSession.getPeerCertificates()メソッドを代わりに使用する必要があります。
  • javax.security.certでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.security.certのクラス
    修飾子と型 クラス 説明
    class  Certificate
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにjava.security.certのクラスを使用してください。
    class  CertificateEncodingException
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにjava.security.certのクラスを使用してください。
    class  CertificateException
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにjava.security.certのクラスを使用してください。
    class  CertificateExpiredException
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにjava.security.certのクラスを使用してください。
    class  CertificateNotYetValidException
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにjava.security.certのクラスを使用してください。
    class  CertificateParsingException
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにjava.security.certのクラスを使用してください。
    class  X509Certificate
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    代わりにjava.security.certのクラスを使用してください。
  • javax.sql.rowsetでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.sql.rowsetのフィールド 
    修飾子と型 フィールド 説明
    static boolean CachedRowSet.COMMIT_ON_ACCEPT_CHANGES
    Deprecated.
    このフィールドはfinal (インタフェースの一部)であるため、その値を変更することはできません。
    Deprecated型の注釈を持つjavax.sql.rowsetのメソッド 
    修飾子と型 メソッド 説明
    void BaseRowSet.setUnicodeStream​(int parameterIndex, InputStream x, int length)
    Deprecated.
    代わりにgetCharacterStreamを使用してください。
  • javax.swingでのDeprecatedの使用

    Deprecatedの注釈を持つjavax.swingのクラス
    修飾子と型 クラス 説明
    class  JApplet
    Deprecated.
    アプレットAPIは非推奨であり、代替はありません。
    protected class  JComponent.AccessibleJComponent.AccessibleFocusHandler
    Deprecated.
    このクラスはもはや使用されず、必要もありません。
    Deprecated型の注釈を持つjavax.swingのフィールド 
    修飾子と型 フィールド 説明
    protected FocusListener JComponent.AccessibleJComponent.accessibleFocusHandler
    Deprecated.
    protected boolean JViewport.backingStore
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません
    protected static Component ImageIcon.component
    Deprecated.
    since 1.8
    protected static MediaTracker ImageIcon.tracker
    Deprecated.
    since 1.8
    Deprecated型の注釈を持つjavax.swingのメソッド 
    修飾子と型 メソッド 説明
    void RepaintManager.addDirtyRegion​(Applet applet, int x, int y, int w, int h)
    Deprecated.
    Applet APIは推奨されていません。
    static JScrollPane JTable.createScrollPaneForTable​(JTable aTable)
    Deprecated.
    Swing version 1.0.2以降は、new JScrollPane(aTable)に置き換えられています。
    void JComponent.disable()
    Deprecated.
    JDK Version 1.1以降は、java.awt.Component.setEnabled(boolean)に置き換えられています。
    static void FocusManager.disableSwingFocusManager()
    Deprecated.
    1.4以降は、KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy)に置き換えられています
    void JComponent.enable()
    Deprecated.
    JDK Version 1.1以降は、java.awt.Component.setEnabled(boolean)に置き換えられています。
    static Component SwingUtilities.findFocusOwner​(Component c)
    Deprecated.
    1.4以降は、KeyboardFocusManager.getFocusOwner()に置き換えられています。
    Component JMenuBar.getComponentAtIndex​(int i)
    Deprecated.
    getComponent(int i)に置き換えられています
    Component JPopupMenu.getComponentAtIndex​(int i)
    Deprecated.
    Container.getComponent(int)に置き換えられています
    static KeyStroke KeyStroke.getKeyStroke​(char keyChar, boolean onKeyRelease)
    Deprecated.
    getKeyStroke(char)を使用
    String AbstractButton.getLabel()
    Deprecated.
    - getTextに置き換えられています
    JMenuBar JInternalFrame.getMenuBar()
    Deprecated.
    Swing version 1.0.3以降は、getJMenuBar()に置き換えられています。
    JMenuBar JRootPane.getMenuBar()
    Deprecated.
    Swing version 1.0.3以降は、getJMenuBar()に置き換えられています。
    Component JComponent.getNextFocusableComponent()
    Deprecated.
    1.4以降は、FocusTraversalPolicyに置き換えられています。
    Object[] JList.getSelectedValues()
    Deprecated.
    JDK 1.7以降は、JList.getSelectedValuesList()に置き換えられています
    String JPasswordField.getText()
    Deprecated.
    Java 2プラットフォームv1.2以降は、getPasswordに置き換えられています。
    String JPasswordField.getText​(int offs, int len)
    Deprecated.
    Java 2プラットフォームv1.2以降は、getPasswordに置き換えられています。
    Rectangle ScrollPaneLayout.getViewportBorderBounds​(JScrollPane scrollpane)
    Deprecated.
    JDKのSwing 1.1以降は、JScrollPane.getViewportBorderBounds()に置き換えられています。
    void JComponent.hide()
    Deprecated.
    boolean JViewport.isBackingStoreEnabled()
    Deprecated.
    Java 2プラットフォームv1.3以降は、getScrollMode()に置き換えられています。
    static boolean FocusManager.isFocusManagerEnabled()
    Deprecated.
    1.4以降は、KeyboardFocusManager.getDefaultFocusTraversalPolicy()に置き換えられています。
    boolean JComponent.isManagingFocus()
    Deprecated.
    1.4以降は、Component.setFocusTraversalKeys(int, Set)およびContainer.setFocusCycleRoot(boolean)に置き換えられています。
    boolean JComponent.requestDefaultFocus()
    Deprecated.
    1.4以降は、FocusTraversalPolicy.getDefaultComponent(Container).requestFocus()
    void JComponent.reshape​(int x, int y, int w, int h)
    Deprecated.
    JDK 5以降は、Component.setBounds(int, int, int, int)に置き換えられています。
    void JViewport.setBackingStoreEnabled​(boolean enabled)
    Deprecated.
    Java 2プラットフォームv1.3以降は、setScrollMode()に置き換えられています。
    void AbstractButton.setLabel​(String label)
    Deprecated.
    - setText(text)に置き換えられています
    void JInternalFrame.setMenuBar​(JMenuBar m)
    Deprecated.
    Swing version 1.0.3以降は、setJMenuBar(JMenuBar m)に置き換えられています。
    void JRootPane.setMenuBar​(JMenuBar menu)
    Deprecated.
    Swing version 1.0.3以降は、setJMenuBar(JMenuBar menu)に置き換えられています。
    void JComponent.setNextFocusableComponent​(Component aComponent)
    Deprecated.
    1.4以降は、FocusTraversalPolicyに置き換えられています
    boolean InputVerifier.shouldYieldFocus​(JComponent input)
    Deprecated.
    代わりにInputVerifier.shouldYieldFocus(JComponent, JComponent)を使用してください。
    void JTable.sizeColumnsToFit​(boolean lastColumnOnly)
    Deprecated.
    Swing version 1.0.3以降は、doLayout()に置き換えられています。
  • javax.swing.plafでのDeprecatedの使用

    Deprecatedの注釈を使用するjavax.swing.plafのメソッド
    修飾子と型 メソッド 説明
    String TextUI.getToolTipText​(JTextComponent t, Point pt)
    Deprecated.
    abstract Rectangle TextUI.modelToView​(JTextComponent t, int pos)
    Deprecated.
    abstract Rectangle TextUI.modelToView​(JTextComponent t, int pos, Position.Bias bias)
    Deprecated.
    abstract int TextUI.viewToModel​(JTextComponent t, Point pt)
    Deprecated.
    abstract int TextUI.viewToModel​(JTextComponent t, Point pt, Position.Bias[] biasReturn)
    Deprecated.
  • javax.swing.plaf.basicでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.swing.plaf.basicのフィールド 
    修飾子と型 フィールド 説明
    protected KeyStroke BasicDesktopPaneUI.closeKey
    Deprecated.
    1.3以降
    protected KeyStroke BasicSplitPaneUI.dividerResizeToggleKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicSplitPaneUI.downKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicTabbedPaneUI.downKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicToolBarUI.downKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicSplitPaneUI.endKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicSplitPaneUI.homeKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.keyboardDownRightListener
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.keyboardEndListener
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.keyboardHomeListener
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.keyboardResizeToggleListener
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.keyboardUpLeftListener
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicSplitPaneUI.leftKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicTabbedPaneUI.leftKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicToolBarUI.leftKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicDesktopPaneUI.maximizeKey
    Deprecated.
    1.3以降
    protected KeyStroke BasicDesktopPaneUI.minimizeKey
    Deprecated.
    1.3以降
    protected KeyStroke BasicDesktopPaneUI.navigateKey
    Deprecated.
    1.3以降
    protected KeyStroke BasicDesktopPaneUI.navigateKey2
    Deprecated.
    1.3以降
    protected KeyStroke BasicInternalFrameUI.openMenuKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicSplitPaneUI.rightKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicTabbedPaneUI.rightKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicToolBarUI.rightKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicSplitPaneUI.upKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicTabbedPaneUI.upKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected KeyStroke BasicToolBarUI.upKey
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    Deprecated型の注釈を持つjavax.swing.plaf.basicのメソッド 
    修飾子と型 メソッド 説明
    protected ActionListener BasicSplitPaneUI.createKeyboardDownRightListener()
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.createKeyboardEndListener()
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.createKeyboardHomeListener()
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.createKeyboardResizeToggleListener()
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected ActionListener BasicSplitPaneUI.createKeyboardUpLeftListener()
    Deprecated.
    Java 2プラットフォーム1.3以降使われていません。
    protected int BasicSplitPaneUI.getDividerBorderSize()
    Deprecated.
    Java 2プラットフォーム1.3以降は、ディバイダにボーダーを設定します。
    Rectangle BasicTextUI.modelToView​(JTextComponent tc, int pos)
    Deprecated.
    Rectangle BasicTextUI.modelToView​(JTextComponent tc, int pos, Position.Bias bias)
    Deprecated.
    int BasicTextUI.viewToModel​(JTextComponent tc, Point pt)
    Deprecated.
    int BasicTextUI.viewToModel​(JTextComponent tc, Point pt, Position.Bias[] biasReturn)
    Deprecated.
  • javax.swing.plaf.metalでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.swing.plaf.metalのクラス 
    修飾子と型 クラス 説明
    class  MetalComboBoxUI.MetalComboPopup
    Deprecated.
    Java 2プラットフォームv1.4以降使われていません。
    protected class  MetalFileChooserUI.FileRenderer
    Deprecated.
    JDK version 9以降
    protected class  MetalFileChooserUI.SingleClickListener
    Deprecated.
    JDK version 9以降
    Deprecated型の注釈を持つjavax.swing.plaf.metalのメソッド 
    修飾子と型 メソッド 説明
    protected void MetalComboBoxUI.editablePropertyChanged​(PropertyChangeEvent e)
    Deprecated.
    Java 2プラットフォームv1.4以降使われていません。
    protected void MetalComboBoxUI.removeListeners()
    Deprecated.
    Java 2プラットフォームv1.4以降使われていません。
    void MetalScrollPaneUI.uninstallListeners​(JScrollPane scrollPane)
    Deprecated.
    - BasicScrollPaneUI.uninstallListeners(JComponent)に置き換えられました
  • javax.swing.plaf.multiでのDeprecatedの使用

    Deprecatedの注釈を使用するjavax.swing.plaf.multiのメソッド
    修飾子と型 メソッド 説明
    Rectangle MultiTextUI.modelToView​(JTextComponent a, int b)
    Deprecated.
    Rectangle MultiTextUI.modelToView​(JTextComponent a, int b, Position.Bias c)
    Deprecated.
    int MultiTextUI.viewToModel​(JTextComponent a, Point b)
    Deprecated.
    int MultiTextUI.viewToModel​(JTextComponent a, Point b, Position.Bias[] c)
    Deprecated.
  • javax.swing.tableでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.swing.tableのフィールド 
    修飾子と型 フィールド 説明
    protected int TableColumn.resizedPostingDisableCount
    Deprecated.
    Java 2プラットフォームv1.3。
    Deprecated型の注釈を持つjavax.swing.tableのメソッド 
    修飾子と型 メソッド 説明
    void TableColumn.disableResizedPosting()
    Deprecated.
    Java 2プラットフォームv1.3。
    void TableColumn.enableResizedPosting()
    Deprecated.
    Java 2プラットフォームv1.3。
  • javax.swing.textでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.swing.textのクラス 
    修飾子と型 クラス 説明
    class  DefaultTextUI
    Deprecated. 
    class  TableView.TableCell
    Deprecated.
    テーブル・セルは任意のView実装となることができます。
    Deprecated型の注釈を持つjavax.swing.textのメソッド 
    修飾子と型 メソッド 説明
    protected TableView.TableCell TableView.createTableCell​(Element elem)
    Deprecated.
    テーブル・セルは任意のView実装となることができますが、テーブルではなく、ViewFactoryによって作成されるようにします。
    protected int PasswordView.drawEchoCharacter​(Graphics g, int x, int y, char c)
    Deprecated.
    protected void PlainView.drawLine​(int lineIndex, Graphics g, int x, int y)
    Deprecated.
    protected void WrappedPlainView.drawLine​(int p0, int p1, Graphics g, int x, int y)
    Deprecated.
    protected int PasswordView.drawSelectedText​(Graphics g, int x, int y, int p0, int p1)
    Deprecated.
    protected int PlainView.drawSelectedText​(Graphics g, int x, int y, int p0, int p1)
    Deprecated.
    protected int WrappedPlainView.drawSelectedText​(Graphics g, int x, int y, int p0, int p1)
    static int Utilities.drawTabbedText​(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset)
    protected int PasswordView.drawUnselectedText​(Graphics g, int x, int y, int p0, int p1)
    Deprecated.
    protected int PlainView.drawUnselectedText​(Graphics g, int x, int y, int p0, int p1)
    Deprecated.
    protected int WrappedPlainView.drawUnselectedText​(Graphics g, int x, int y, int p0, int p1)
    static int Utilities.getBreakLocation​(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)
    protected FontMetrics LabelView.getFontMetrics()
    Deprecated.
    FontMetricsは、JDKで実行する場合はグリフ・レンダリングには使用されません。
    static int Utilities.getPositionAbove​(JTextComponent c, int offs, int x)
    Deprecated.
    static int Utilities.getPositionBelow​(JTextComponent c, int offs, int x)
    Deprecated.
    static int Utilities.getTabbedTextOffset​(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)
    static int Utilities.getTabbedTextOffset​(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset, boolean round)
    static int Utilities.getTabbedTextWidth​(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset)
    Rectangle JTextComponent.modelToView​(int pos)
    Deprecated.
    JTextComponent.modelToView2D(int)に置き換えられました
    Shape View.modelToView​(int pos, Shape a)
    Deprecated. 
    int JTextComponent.viewToModel​(Point pt)
    Deprecated.
    JTextComponent.viewToModel2D(Point2D)に置き換えられました
    int View.viewToModel​(float x, float y, Shape a)
    Deprecated. 
  • javax.swing.text.htmlでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.swing.text.htmlのフィールド 
    修飾子と型 フィールド 説明
    static String FormView.RESET
    Deprecated.
    1.3以降、値はFormView.resetButtonTextのUIManagerプロパティから得られるようになりました。
    static String FormView.SUBMIT
    Deprecated.
    1.3以降、値はFormView.submitButtonTextのUIManagerプロパティから得られるようになりました。
    Deprecated型の注釈を持つjavax.swing.text.htmlのメソッド 
    修飾子と型 メソッド 説明
    protected void HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry​(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
    Deprecated.
    Java 2プラットフォームv1.3以降は、insertAtBoundaryを使用してください。
  • javax.swing.treeでのDeprecatedの使用

    Deprecated型の注釈を持つjavax.swing.treeのメソッド 
    修飾子と型 メソッド 説明
    protected void DefaultTreeSelectionModel.notifyPathChange​(Vector<?> changedPaths, TreePath oldLeadSelection)
    Deprecated.
    JDK version 1.7以降
  • javax.toolsでのDeprecatedの使用

    Deprecatedの注釈を使用するjavax.toolsのメソッド
    修飾子と型 メソッド 説明
    default Iterable<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromPaths​(Iterable<? extends Path> paths)
    Deprecated.
    そのような引数を1つのPathで誤ってメソッドをコールする可能性をなくすには、StandardJavaFileManager.getJavaFileObjectsFromPaths(Collection)を使用します。
    static ClassLoader ToolProvider.getSystemToolClassLoader()
    Deprecated.
    このメソッドは、Java SEの将来のバージョンで削除される可能性があります。
    Deprecatedの注釈を持つjavax.toolsのコンストラクタ 
    コンストラクタ 説明
    ToolProvider()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
  • javax.xml.streamでのDeprecatedの使用

    Deprecatedの注釈を使用するjavax.xml.streamのメソッド
    修飾子と型 メソッド 説明
    static XMLEventFactory XMLEventFactory.newInstance​(String factoryId, ClassLoader classLoader)
    Deprecated.
    APIの整合性を維持するために、このメソッドは非推奨になりました。
    static XMLInputFactory XMLInputFactory.newInstance​(String factoryId, ClassLoader classLoader)
    Deprecated.
    APIの整合性を維持するために、このメソッドは非推奨になりました。
    static XMLInputFactory XMLOutputFactory.newInstance​(String factoryId, ClassLoader classLoader)
    Deprecated.
    このメソッドは、間違ったクラスであるXMLInputFactoryのインスタンスを返すため、非推奨になっています。
  • jdk.nashorn.api.scriptingでのDeprecatedの使用

    Deprecatedの注釈を持つjdk.nashorn.api.scriptingのクラス
    修飾子と型 クラス 説明
    class  AbstractJSObject
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ClassFilter
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  JSObject
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  NashornException
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  NashornScriptEngine
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  NashornScriptEngineFactory
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  ScriptObjectMirror
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  ScriptUtils
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  URLReader
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    Deprecatedの注釈を使用するjdk.nashorn.api.scriptingのメソッド
    修飾子と型 メソッド 説明
    static Object AbstractJSObject.getDefaultValue​(JSObject jsobj, Class<?> hint)
    Deprecated.
    代わりにJSObject.getDefaultValue(Class)を使用してください。
    double AbstractJSObject.toNumber()
    Deprecated.
    代わりにJSObject.getDefaultValue(Class)Numberヒントと共に使用してください。
    default double JSObject.toNumber()
    Deprecated.
    代わりにJSObject.getDefaultValue(Class)Numberヒントと共に使用してください。
    double ScriptObjectMirror.toNumber()
    Deprecated.
  • jdk.nashorn.api.treeでのDeprecatedの使用

    Deprecatedの注釈を持つjdk.nashorn.api.treeのクラス
    修飾子と型 インタフェース 説明
    interface  ArrayAccessTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ArrayLiteralTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  AssignmentTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  BinaryTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  BlockTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  BreakTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  CaseTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  CatchTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ClassDeclarationTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ClassExpressionTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  CompilationUnitTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  CompoundAssignmentTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ConditionalExpressionTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ConditionalLoopTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ContinueTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  DebuggerTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  Diagnostic
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    static class  Diagnostic.Kind
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  DiagnosticListener
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  DoWhileLoopTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  EmptyStatementTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ErroneousTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ExportEntryTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ExpressionStatementTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ExpressionTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ForInLoopTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ForLoopTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ForOfLoopTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  FunctionCallTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  FunctionDeclarationTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  FunctionExpressionTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  GotoTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  IdentifierTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  IfTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ImportEntryTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  InstanceOfTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  LabeledStatementTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  LineMap
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  LiteralTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  LoopTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  MemberSelectTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ModuleTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  NewTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ObjectLiteralTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ParenthesizedTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  Parser
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  PropertyTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  RegExpLiteralTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ReturnTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  SimpleTreeVisitorES5_1<R,​P>
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  SimpleTreeVisitorES6<R,​P>
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  SpreadTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  StatementTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  SwitchTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  TemplateLiteralTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  ThrowTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  Tree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    static class  Tree.Kind
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  TreeVisitor<R,​P>
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  TryTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  UnaryTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    class  UnknownTreeException
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  VariableTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  WhileLoopTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  WithTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
    interface  YieldTree
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    Nashorn JavaScriptスクリプト・エンジンとAPIおよびjjsツールは、将来のリリースでこれらを削除する目的で非推奨になりました。
  • jdk.netでのDeprecatedの使用

    Deprecatedの注釈を持つjdk.netのクラス 
    修飾子と型 クラス 説明
    class  SocketFlow
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    これはSolarisでのみサポートされます。
    static class  SocketFlow.Status
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    これはSolarisでのみサポートされます。
    Deprecatedの注釈を持つjdk.netのフィールド 
    修飾子と型 フィールド 説明
    static SocketOption<SocketFlow> ExtendedSocketOptions.SO_FLOW_SLA
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    これはSolarisでのみサポートされます。
  • org.ietf.jgssでのDeprecatedの使用

    Deprecatedの注釈を使用するorg.ietf.jgssのメソッド
    修飾子と型 メソッド 説明
    void GSSContext.acceptSecContext​(InputStream inStream, OutputStream outStream)
    Deprecated.
    ストリーム・ベースのメソッドはRFC 8353から削除されました。
    void GSSContext.getMIC​(InputStream inStream, OutputStream outStream, MessageProp msgProp)
    Deprecated.
    ストリーム・ベースのメソッドはRFC 8353から削除されました。
    int GSSContext.initSecContext​(InputStream inStream, OutputStream outStream)
    Deprecated.
    ストリーム・ベースのメソッドはRFC 8353から削除されました。
    void GSSContext.unwrap​(InputStream inStream, OutputStream outStream, MessageProp msgProp)
    Deprecated.
    ストリーム・ベースのメソッドはRFC 8353から削除されました。
    void GSSContext.verifyMIC​(InputStream tokStream, InputStream msgStream, MessageProp msgProp)
    Deprecated.
    ストリーム・ベースのメソッドはRFC 8353から削除されました。
    void GSSContext.wrap​(InputStream inStream, OutputStream outStream, MessageProp msgProp)
    Deprecated.
    ストリーム・ベースのメソッドはRFC 8353から削除されました。
  • org.xml.saxでのDeprecatedの使用

    Deprecatedの注釈を持つorg.xml.saxのクラス
    修飾子と型 インタフェース 説明
    interface  AttributeList
    Deprecated.
    このインタフェースは、名前空間サポートを含むSAX2 Attributesインタフェースで置き換えられています。
    interface  DocumentHandler
    Deprecated.
    このインタフェースは、名前空間サポートを含むSAX2 ContentHandlerインタフェースで置き換えられています。
    class  HandlerBase
    Deprecated.
    このクラスは非推奨のDocumentHandlerインタフェースで動作します。
    interface  Parser
    Deprecated.
    このインタフェースは、名前空間サポートを含むSAX2 XMLReaderインタフェースで置き換えられています。
  • org.xml.sax.helpersでのDeprecatedの使用

    Deprecatedの注釈を持つorg.xml.sax.helpersのクラス
    修飾子と型 クラス 説明
    class  AttributeListImpl
    Deprecated.
    このクラスは非推奨のインタフェースAttributeListを実装します。このインタフェースはすでに、Attributesに置き換えられています。これは、AttributesImplヘルパー・クラスに実装されています。
    class  ParserFactory
    Deprecated.
    このクラスは非推奨のParserインタフェースで動作します。
    class  XMLReaderFactory
    Deprecated.
    代わりにSAXParserFactoryを使用することをお勧めします。