-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2fcs
-
sparc
-
solaris_2.6
-
Not verified
java.text.breakIterator.getSentenceInstance incorrectly returns the
first sentence. It appears to have a problem with sentences of the
following form:
string1, string2.
For example:
BEGIN INPUT
Constructs a randomly generated BigInteger, uniformly distributed over
the range <tt>0</tt> to <tt>(2<sup>numBits</sup> - 1)</tt>, inclusive.
The uniformity of the distribution assumes that a fair source of random
bits is provided in <tt>rnd</tt>. Note that this constructor always
constructs a non-negative BigInteger.
BEGIN OUTPUT
Constructs a randomly generated BigInteger, uniformly distributed over
the range <tt>0</tt> to <tt>(2<sup>numBits</sup> - 1)
first sentence. It appears to have a problem with sentences of the
following form:
string1, string2.
For example:
BEGIN INPUT
Constructs a randomly generated BigInteger, uniformly distributed over
the range <tt>0</tt> to <tt>(2<sup>numBits</sup> - 1)</tt>, inclusive.
The uniformity of the distribution assumes that a fair source of random
bits is provided in <tt>rnd</tt>. Note that this constructor always
constructs a non-negative BigInteger.
BEGIN OUTPUT
Constructs a randomly generated BigInteger, uniformly distributed over
the range <tt>0</tt> to <tt>(2<sup>numBits</sup> - 1)