Name: sdR10048 Date: 08/28/2003
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta-b16"
Specification excerpt:
======================
--------- J2SE API spec v.1.5 ---------
public void setConcurrency(int concurrency)
Sets the concurrency for this RowSet object to
the specified concurrency. The default concurrency is
ResultSet.CONCUR_UPDATABLE.
@param concurrency one of the following constants:
ResultSet.CONCUR_READ_ONLY or
ResultSet.CONCUR_UPDATABLE
---------- end-of-excerpt ---------------
Problem description
===================
The spec for this method does not state the expected
behaviour if 'concurrency' is not one of two designated ints.
The API Spec Requirements says
(http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method):
"Method Specification
This section applies to Java methods and constructors.
Each method and constructor specification must include:
. . .
Range of Valid Argument Values - Specify all valid and invalid values
for each argument, including expected behavior for invalid input
value or range of values. See example.
======================================================================
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta-b16"
Specification excerpt:
======================
--------- J2SE API spec v.1.5 ---------
public void setConcurrency(int concurrency)
Sets the concurrency for this RowSet object to
the specified concurrency. The default concurrency is
ResultSet.CONCUR_UPDATABLE.
@param concurrency one of the following constants:
ResultSet.CONCUR_READ_ONLY or
ResultSet.CONCUR_UPDATABLE
---------- end-of-excerpt ---------------
Problem description
===================
The spec for this method does not state the expected
behaviour if 'concurrency' is not one of two designated ints.
The API Spec Requirements says
(http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method):
"Method Specification
This section applies to Java methods and constructors.
Each method and constructor specification must include:
. . .
Range of Valid Argument Values - Specify all valid and invalid values
for each argument, including expected behavior for invalid input
value or range of values. See example.
======================================================================