JDK 16 RFR of JDK-8250578: Address reliance on default constructors in javax.sql

Joe Darcy joe.darcy at oracle.com
Sat Jul 25 02:25:34 UTC 2020


Hello,

Another module, another use of a default constructor. Please review the 
fix and CSR for:

     JDK-8250578: Address reliance on default constructors in javax.sql
     CSR: https://bugs.openjdk.java.net/browse/JDK-8250579
     http://cr.openjdk.java.net/~darcy/8250578.0/

Patch below.

Thanks,

-Joe

--- 
old/src/java.sql.rowset/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java 
2020-07-24 19:16:43.633847343 -0700
+++ 
new/src/java.sql.rowset/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java 
2020-07-24 19:16:42.941847343 -0700
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights 
reserved.
+ * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights 
reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
@@ -52,6 +52,10 @@
   * @since 1.5
   */
  public class RowSetMetaDataImpl implements RowSetMetaData, Serializable {
+    /**
+     * Constructs a {@code RowSetMetaDataImpl} object.
+     */
+    public RowSetMetaDataImpl() {}

      /**
       * The number of columns in the <code>RowSet</code> object that 
created



More information about the core-libs-dev mailing list