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] Created: (HARMONY-4363) [buildtest][func] Incorrect regexp filters in ST06Test jdwp test
Date Fri, 06 Jul 2007 08:29:04 GMT
[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
            Reporter: Roman S. Bushmanov

The fulctional test
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