You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2006/11/09 13:12:40 UTC

[jira] Created: (HARMONY-2127) [classlib][regex] harmony does not compile embedded flag (?c)

[classlib][regex] harmony does not compile embedded flag (?c)
-------------------------------------------------------------

                 Key: HARMONY-2127
                 URL: http://issues.apache.org/jira/browse/HARMONY-2127
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Tim Ellison


The expression "x(?c)y" compiles successfully on the RI, but fails to compile on Harmony.


-- 
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-2127) [classlib][regex] harmony does not compile embedded flag (?c)

Posted by "Sian January (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2127?page=comments#action_12450434 ] 
            
Sian January commented on HARMONY-2127:
---------------------------------------

I don't think 'c' is a valid flag - the flags that are valid are i,d,m,s,u and x (and -i,-d etc).  However the RI seems to just ignore it rather than throwing an Exception, so Harmony should match that behaviour.

> [classlib][regex] harmony does not compile embedded flag (?c)
> -------------------------------------------------------------
>
>                 Key: HARMONY-2127
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2127
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tim Ellison
>
> The expression "x(?c)y" compiles successfully on the RI, but fails to compile on Harmony.

-- 
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-2127) [classlib][regex] harmony does not compile embedded flag (?c)

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

Paulex Yang resolved HARMONY-2127.
----------------------------------

    Resolution: Fixed

Sian, patch applied at reivision 475869, thanks a lot for this enhancement.

Tim, please verify, thank you.

> [classlib][regex] harmony does not compile embedded flag (?c)
> -------------------------------------------------------------
>
>                 Key: HARMONY-2127
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2127
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tim Ellison
>         Assigned To: Paulex Yang
>         Attachments: regexpatch.txt, regexpatchupdated.txt
>
>
> The expression "x(?c)y" compiles successfully on the RI, but fails to compile on Harmony.

-- 
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-2127) [classlib][regex] harmony does not compile embedded flag (?c)

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

Sian January updated HARMONY-2127:
----------------------------------

    Attachment: regexpatchupdated.txt

I have updated the patch as I noticed some errors in one of the regex tests that I have tidied up.

> [classlib][regex] harmony does not compile embedded flag (?c)
> -------------------------------------------------------------
>
>                 Key: HARMONY-2127
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2127
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tim Ellison
>         Attachments: regexpatch.txt, regexpatchupdated.txt
>
>
> The expression "x(?c)y" compiles successfully on the RI, but fails to compile on Harmony.

-- 
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-2127) [classlib][regex] harmony does not compile embedded flag (?c)

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

Sian January updated HARMONY-2127:
----------------------------------

    Attachment: regexpatch.txt

Attached a patch containg a fix and a test

> [classlib][regex] harmony does not compile embedded flag (?c)
> -------------------------------------------------------------
>
>                 Key: HARMONY-2127
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2127
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tim Ellison
>         Attachments: regexpatch.txt
>
>
> The expression "x(?c)y" compiles successfully on the RI, but fails to compile on Harmony.

-- 
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-2127) [classlib][regex] harmony does not compile embedded flag (?c)

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

Paulex Yang reassigned HARMONY-2127:
------------------------------------

    Assignee: Paulex Yang

> [classlib][regex] harmony does not compile embedded flag (?c)
> -------------------------------------------------------------
>
>                 Key: HARMONY-2127
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2127
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tim Ellison
>         Assigned To: Paulex Yang
>         Attachments: regexpatch.txt, regexpatchupdated.txt
>
>
> The expression "x(?c)y" compiles successfully on the RI, but fails to compile on Harmony.

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