harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman S. Bushmanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4363) [buildtest][func] Incorrect regexp filters in ST06Test jdwp test
Date Fri, 06 Jul 2007 08:33:04 GMT

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

Roman S. Bushmanov updated HARMONY-4363:

    Component/s: build - test - ci

> [buildtest][func] Incorrect regexp filters in ST06Test jdwp test
> ----------------------------------------------------------------
>                 Key: HARMONY-4363
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4363
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Roman S. Bushmanov
> The fulctional test
> functional/org/apache/harmony/test/func/jpda/jdwp/scenario/ST06/ST06Test.xml   
> has the following problem.
> The test uses className.matches(stepFilters[j]) statement to check the class name. The
items in stepFilters look like "org.apache.harmony.nio.*"
> However the method String.matches() expect it argument to be a regular expression. The
filters defined in the test are valid regular expressions but ther meaning is different when
being treated as regexp. 
> For example, "org.apache.harmony.niochar.charset.UTF_8$Encoder".matches("org.apache.harmony.nio.*")
returns true while false is expected by the test authors.
> The filter "org.apache.harmony.nio.*" should be changed to something like "org\\.apache\\.harmony\\.nio\\..*"

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

View raw message