harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4472) [classlib][regex] Pattern.compile(String) throws unexpected NullPointerException
Date Wed, 01 Aug 2007 13:48:53 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Ellison closed HARMONY-4472.
--------------------------------


Verified by Sian.


> [classlib][regex] Pattern.compile(String) throws unexpected NullPointerException
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-4472
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4472
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windwos
>            Reporter: Sean Qiu
>            Assignee: Tim Ellison
>         Attachments: regex.patch
>
>
> Pattern.compile(String) throw unexpected NPE.
> public class Test extends TestCase{
>     public void testCompile(){
>         Pattern.compile("a*.+");
>     }
> }
> RI: pass
> Hy: Throw NullPointerException,stack trace is
> java.lang.NullPointerException
> 	at java.util.regex.JointSet.first(JointSet.java:87)
> 	at java.util.regex.Pattern.processSubExpression(Pattern.java:627)
> 	at java.util.regex.Pattern.processExpression(Pattern.java:396)
> 	at java.util.regex.Pattern.compileImpl(Pattern.java:31)
> 	at java.util.regex.Pattern.compile(Pattern.java:282)
> 	at java.util.regex.Pattern.compile(Pattern.java:1282)
> 	at regex.Test.testCompile(Test.java:9)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:258)

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