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

Should generic type be different for java.sql.QueryObjectGenerator and Connection.createQueryObject

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs
    • None
    • b63
    • x86
    • windows_xp

      These methods appear to spec out requiring an implementation of Query. If that is the case shouldn't this be indicated in the parameter types:

          <T extends Query> T createQueryObject(Class<T> ifc) throws SQLException;

            ahandasunw Amit Handa (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: