Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4683801

Impossible to implement PreparedStatement without deprecation warnings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • tools
    • x86
    • windows_2000



      Name: rmT116609 Date: 05/13/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      DESCRIPTION OF THE PROBLEM :
      Compilers should not issue a deprecation warning if one implements a interface which contains deprecated methods.

      For instance if I implement java.sql.PreparedStatement then I get a warning for implementing the method setUnicodeStream(...) but I have no choice not to implement them.

      http://java.sun.com/j2se/1.4/docs/api/java/sql/PreparedStatement.html#setUnicodeStream(int, java.io.InputStream, int)

      (Review ID: 146493)
      ======================================================================

            gafter Neal Gafter (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: