-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
rc
-
sparc
-
solaris_2.6
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2080792 | 5.0 | Lance Andersen | P3 | Closed | Fixed | rc |
Name: sdR10048 Date: 02/24/2004
Filed By : SPB JCK team (###@###.###):
JDK : 1.5.0-beta2-b37
JCK : 1.5
Platform[s] : Solaris
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] :
api/javax_sql/rowset/BaseRowSet/index.html#Options2[BaseRowSet2010]
Specification excerpt:
======================
--------- J2SE API spec v.1.5 ---------
...
public void setUrl(String url)
throws SQLException
...
Parameters:
url - a String object that contains the JDBC URL that will be used to establish the
connection to a database for this RowSet object; may be null but must not be an
empty string
...
public void setDataSourceName(String name)
throws SQLException
...
Parameters:
name - a String object with the name that can be supplied to a naming service based on JNDI technology to retrieve the DataSource object that can be used to get a connection; may be null
...
---------- end-of-excerpt ---------------
Problem description
===================
There is inconsistency in setUrl and setDataSourceName specification:
Both methods does not allow an empty strings as input parameter but
only setUrl javadoc specifies it.
This causes JCK testcase
api/javax_sql/rowset/BaseRowSet/index.html#Options2[BaseRowSet2010]
to fail.
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
======================================================================
Filed By : SPB JCK team (###@###.###):
JDK : 1.5.0-beta2-b37
JCK : 1.5
Platform[s] : Solaris
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] :
api/javax_sql/rowset/BaseRowSet/index.html#Options2[BaseRowSet2010]
Specification excerpt:
======================
--------- J2SE API spec v.1.5 ---------
...
public void setUrl(String url)
throws SQLException
...
Parameters:
url - a String object that contains the JDBC URL that will be used to establish the
connection to a database for this RowSet object; may be null but must not be an
empty string
...
public void setDataSourceName(String name)
throws SQLException
...
Parameters:
name - a String object with the name that can be supplied to a naming service based on JNDI technology to retrieve the DataSource object that can be used to get a connection; may be null
...
---------- end-of-excerpt ---------------
Problem description
===================
There is inconsistency in setUrl and setDataSourceName specification:
Both methods does not allow an empty strings as input parameter but
only setUrl javadoc specifies it.
This causes JCK testcase
api/javax_sql/rowset/BaseRowSet/index.html#Options2[BaseRowSet2010]
to fail.
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
======================================================================
- backported by
-
JDK-2080792 inconsistency in setUrl and setDataSourceName spec
-
- Closed
-