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 2007/08/01 14:53:53 UTC
[jira] Resolved: (HARMONY-4472) [classlib][regex]
Pattern.compile(String) throws unexpected NullPointerException
[ https://issues.apache.org/jira/browse/HARMONY-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-4472.
----------------------------------
Resolution: Fixed
Thanks Sean and Sian,
Fixed in REGEX module at repo revision r561790.
Please verify.
> [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.