JDK-8215625 : javax/sql/testng/util/xxxxx.java tests compilation failed after JDK-8207224
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 13
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-12-19
  • Updated: 2021-04-01
  • Resolved: 2018-12-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b01Fixed
Related Reports
Relates :  
Relates :  
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()
Comments
we will basically delta-apply the patch for JDK-8207224 as a temporary solution
19-12-2018