Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4152117

Method BreakIterator.getSentenceInstance() has a problem in english + japanese.

XMLWordPrintable

    • 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)

            rgillamsunw Richard Gillam (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: