RFR 8225680: Address links in java.sql.rowset

Lance Andersen lance.andersen at oracle.com
Fri Jun 14 18:57:00 UTC 2019


HI

Please review this patch to address a broken link for the JavaBeans spec.  At the same time, I updated the namespace URLs to point to the jcp namespace location vs java.sun.com.  Please note the java.sun.com URL still provides access to the xsd files.


——————
$ hg diff
diff -r bd613b97c7c8 src/java.sql.rowset/share/classes/com/sun/rowset/providers/RIXMLProvider.java
--- a/src/java.sql.rowset/share/classes/com/sun/rowset/providers/RIXMLProvider.java	Thu Jun 13 12:27:29 2019 +0200
+++ b/src/java.sql.rowset/share/classes/com/sun/rowset/providers/RIXMLProvider.java	Fri Jun 14 14:30:05 2019 -0400
@@ -46,7 +46,7 @@
  * to read an XML data source or to write itself in XML format using the
  * <code>WebRowSet</code> XML schema definition available at
  * <pre>
- *     <a href="http://java.sun.com/xml/ns/jdbc/webrowset.xsd <http://java.sun.com/xml/ns/jdbc/webrowset.xsd>">http://java.sun.com/xml/ns/jdbc/webrowset.xsd <http://java.sun.com/xml/ns/jdbc/webrowset.xsd></a>
+ *     <a href="http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd <http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd>">http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd <http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd></a>
  * </pre>
  * The <code>RIXMLProvider</code> implementation has a synchronization level of
  * GRADE_NONE, which means that it does no checking at all for conflicts.  It
diff -r bd613b97c7c8 src/java.sql.rowset/share/classes/javax/sql/rowset/WebRowSet.java
--- a/src/java.sql.rowset/share/classes/javax/sql/rowset/WebRowSet.java	Thu Jun 13 12:27:29 2019 +0200
+++ b/src/java.sql.rowset/share/classes/javax/sql/rowset/WebRowSet.java	Fri Jun 14 14:30:05 2019 -0400
@@ -44,7 +44,7 @@
  * URI:
  * <ul>
  * <li>
- * <a href="http://java.sun.com/xml/ns/jdbc/webrowset.xsd <http://java.sun.com/xml/ns/jdbc/webrowset.xsd>">http://java.sun.com/xml/ns/jdbc/webrowset.xsd <http://java.sun.com/xml/ns/jdbc/webrowset.xsd></a>
+ * <a href="http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd <http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd>">http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd <http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd></a>
  * </li>
  * </ul>
  * It describes the standard XML document format required when describing a
diff -r bd613b97c7c8 src/java.sql.rowset/share/classes/javax/sql/rowset/package-info.java
--- a/src/java.sql.rowset/share/classes/javax/sql/rowset/package-info.java	Thu Jun 13 12:27:29 2019 +0200
+++ b/src/java.sql.rowset/share/classes/javax/sql/rowset/package-info.java	Fri Jun 14 14:30:05 2019 -0400
@@ -95,8 +95,8 @@
  * <code>SyncFactory</code> in the form of <code>SyncProvider</code>
  * implementations. In order to ensure well formed XML usage, a standard generic XML
  * Schema is defined and published at
- * <a href="http://java.sun.com/xml/ns/jdbc/webrowset.xsd <http://java.sun.com/xml/ns/jdbc/webrowset.xsd>">
- * <code>http://java.sun.com/xml/ns/jdbc/webrowset.xsd</code> <http://java.sun.com/xml/ns/jdbc/webrowset.xsd%3C/code%3E></a>.
+ * <a href="http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd <http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd>">
+ * <code>http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd</code> <http://xmlns.jcp.org/xml/ns//jdbc/webrowset.xsd%3C/code%3E></a>.
  *
  * <li><a href="FilteredRowSet.html"><b><code>FilteredRowSet</code></b></a> - A
  * <code>FilteredRowSet</code> object provides filtering functionality in a programmatic
@@ -154,7 +154,8 @@
  * <code>RowSet</code> objects exist in a connected or disconnected environment.
  * The <code>BaseRowSet</code> abstract class provides any <code>RowSet</code> implementation
  * with its base functionality, including property manipulation and event notification
- * that is fully compliant with <a href="http://java.sun.com/products/javabeans <http://java.sun.com/products/javabeans>">JavaBeans</a>
+ * that is fully compliant with
+ * <a href="https://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html <https://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html>">JavaBeans</a>
  * component requirements. As an example, all implementations provided in the
  * reference implementations (contained in the <code>com.sun.rowset</code> package) use
  * the <code>BaseRowSet</code> class as a basis for their implementations.

—————————


thank you

Best
Lance
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>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 <mailto:Lance.Andersen at oracle.com>





More information about the core-libs-dev mailing list