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

javax/sql/testng/util/xxxxx.java tests compilation failed after JDK-8207224

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • Verification:
      Verified

      Description

      ...
      /scratch/mesos/jib-master/install/jdk13-jdk.19/src.full/open/test/jdk/javax/sql/testng/test/rowset/cachedrowset/CachedRowSetTests.java:31: error: newInstance() in CachedRowSetTests cannot override <T>newInstance() in CommonRowSetTests
          protected CachedRowSet newInstance() throws SQLException {
                                 ^
        return type CachedRowSet is not compatible with T
        where T is a type-variable:
          T extends RowSet declared in method <T>newInstance()
      /scratch/mesos/jib-master/install/jdk13-jdk.19/src.full/open/test/jdk/javax/sql/testng/test/rowset/joinrowset/JoinRowSetTests.java:54: error: newInstance() in JoinRowSetTests cannot override <T>newInstance() in CommonRowSetTests
          protected JoinRowSet newInstance() throws SQLException {
                               ^
        return type JoinRowSet is not compatible with T
        where T is a type-variable:
          T extends RowSet declared in method <T>newInstance()
      /scratch/mesos/jib-master/install/jdk13-jdk.19/src.full/open/test/jdk/javax/sql/testng/test/rowset/webrowset/WebRowSetTests.java:31: error: newInstance() in WebRowSetTests cannot override <T>newInstance() in CommonRowSetTests
          protected WebRowSet newInstance() throws SQLException {
                              ^
        return type WebRowSet is not compatible with T
        where T is a type-variable:
          T extends RowSet declared in method <T>newInstance()
      ...
      /scratch/mesos/jib-master/install/jdk13-jdk.19/src.full/open/test/jdk/javax/sql/testng/test/rowset/filteredrowset/FilteredRowSetTests.java:51: error: newInstance() in FilteredRowSetTests cannot override <T>newInstance() in CommonRowSetTests
          protected FilteredRowSet newInstance() throws SQLException {
                                   ^
        return type FilteredRowSet is not compatible with T
        where T is a type-variable:
          T extends RowSet declared in method <T>newInstance()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vromero Vicente Arturo Romero Zaldivar
              Reporter:
              xyin Chris Yin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: