You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/03/23 20:28:18 UTC

[jira] Created: (HARMONY-241) new java.text.RuleBasedCollator((String)null) throws incorrect exception

new java.text.RuleBasedCollator((String)null) throws incorrect exception
------------------------------------------------------------------------

         Key: HARMONY-241
         URL: http://issues.apache.org/jira/browse/HARMONY-241
     Project: Harmony
        Type: Bug
  Components: Classlib  
    Reporter: Mark Hindess
    Priority: Trivial


constructor java.text.RuleBasedCollator((String)null) RI throws NullPointerException but Harmony throws java.text.ParseException.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-241) new java.text.RuleBasedCollator((String)null) throws incorrect exception

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-241?page=comments#action_12377987 ] 

Mark Hindess commented on HARMONY-241:
--------------------------------------

Looks good. However we should probably drop the e.getMessage() assert  at line 65 of modules/text/src/test/java/org/apache/harmony/text/tests/java/text/BidiTest.java.

Thanks Mikhail.


> new java.text.RuleBasedCollator((String)null) throws incorrect exception
> ------------------------------------------------------------------------
>
>          Key: HARMONY-241
>          URL: http://issues.apache.org/jira/browse/HARMONY-241
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Trivial
>  Attachments: 02.rulebasedcollator.empty.string.diff, java.text.npe.diff
>
> constructor java.text.RuleBasedCollator((String)null) RI throws NullPointerException but Harmony throws java.text.ParseException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (HARMONY-241) new java.text.RuleBasedCollator((String)null) throws incorrect exception

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-241?page=all ]
     
Mikhail Loenko closed HARMONY-241:
----------------------------------


original issue was fixed. verified by Mark

e.getMessage assert will probably have to be removed once
consensus is reached or decision is made on the harmony-dev 
mailing list

> new java.text.RuleBasedCollator((String)null) throws incorrect exception
> ------------------------------------------------------------------------
>
>          Key: HARMONY-241
>          URL: http://issues.apache.org/jira/browse/HARMONY-241
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Trivial
>  Attachments: 02.rulebasedcollator.empty.string.diff, java.text.npe.diff
>
> constructor java.text.RuleBasedCollator((String)null) RI throws NullPointerException but Harmony throws java.text.ParseException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-241) new java.text.RuleBasedCollator((String)null) throws incorrect exception

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-241?page=all ]

Mark Hindess updated HARMONY-241:
---------------------------------

    Attachment: java.text.npe.diff

Patch with fix and test.  Also includes fix for java.text.Bidi constructor behaviour even though that isn't really implemented (just to stop it failing my test code).


> new java.text.RuleBasedCollator((String)null) throws incorrect exception
> ------------------------------------------------------------------------
>
>          Key: HARMONY-241
>          URL: http://issues.apache.org/jira/browse/HARMONY-241
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Trivial
>  Attachments: java.text.npe.diff
>
> constructor java.text.RuleBasedCollator((String)null) RI throws NullPointerException but Harmony throws java.text.ParseException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (HARMONY-241) new java.text.RuleBasedCollator((String)null) throws incorrect exception

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-241?page=all ]

Mikhail Loenko reassigned HARMONY-241:
--------------------------------------

    Assign To: Mikhail Loenko

> new java.text.RuleBasedCollator((String)null) throws incorrect exception
> ------------------------------------------------------------------------
>
>          Key: HARMONY-241
>          URL: http://issues.apache.org/jira/browse/HARMONY-241
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Trivial
>  Attachments: 02.rulebasedcollator.empty.string.diff, java.text.npe.diff
>
> constructor java.text.RuleBasedCollator((String)null) RI throws NullPointerException but Harmony throws java.text.ParseException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-241) new java.text.RuleBasedCollator((String)null) throws incorrect exception

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-241?page=all ]

Mark Hindess updated HARMONY-241:
---------------------------------

    Attachment: 02.rulebasedcollator.empty.string.diff

This patch, 02.rulebasedcollator.empty.string.diff, must be applied after the previous one and fixes a related issue where the rules String is the empty string.  It also fixes a harmless typo in the first patch.


> new java.text.RuleBasedCollator((String)null) throws incorrect exception
> ------------------------------------------------------------------------
>
>          Key: HARMONY-241
>          URL: http://issues.apache.org/jira/browse/HARMONY-241
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Trivial
>  Attachments: 02.rulebasedcollator.empty.string.diff, java.text.npe.diff
>
> constructor java.text.RuleBasedCollator((String)null) RI throws NullPointerException but Harmony throws java.text.ParseException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (HARMONY-241) new java.text.RuleBasedCollator((String)null) throws incorrect exception

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-241?page=all ]
     
Mikhail Loenko resolved HARMONY-241:
------------------------------------

    Resolution: Fixed

fixed in revision 400008
Mark, please check that it resolves the issue

> new java.text.RuleBasedCollator((String)null) throws incorrect exception
> ------------------------------------------------------------------------
>
>          Key: HARMONY-241
>          URL: http://issues.apache.org/jira/browse/HARMONY-241
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Trivial
>  Attachments: 02.rulebasedcollator.empty.string.diff, java.text.npe.diff
>
> constructor java.text.RuleBasedCollator((String)null) RI throws NullPointerException but Harmony throws java.text.ParseException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira