harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6648) Character.codePointAt exception differences
Date Tue, 14 Sep 2010 16:29:34 GMT
Character.codePointAt exception differences
-------------------------------------------

                 Key: HARMONY-6648
                 URL: https://issues.apache.org/jira/browse/HARMONY-6648
             Project: Harmony
          Issue Type: Bug
          Components: Non-bug differences from RI
    Affects Versions: 5.0M15
            Reporter: Robert Muir


In the Lucene tests, we had a test that looked for expected exceptions from various Character.codePointAt
methods.

The test was written to look for StringIndexOutOfBounds and ArrayIndexOutOfBounds, and passes
because
people happen to be using an implementation that throws those.

but the javadocs contract states IndexOutOfBounds, which harmony throws.

Our test is wrong, but its a small difference.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message