JDK 16 RFR of JDK-8250578: Address reliance on default constructors in javax.sql
Lance Andersen
LANCE.ANDERSEN at ORACLE.COM
Sat Jul 25 10:38:40 UTC 2020
+1
> On Jul 24, 2020, at 10:25 PM, Joe Darcy <joe.darcy at oracle.com> wrote:
>
> 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
>
Best
Lance
------------------
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
More information about the core-libs-dev
mailing list