]
Mircea Markus updated ISPN-2920:
--------------------------------
Issue Type: Bug (was: Feature Request)
ClassFinder.infinispanClasses does not work corrctly
----------------------------------------------------
Key: ISPN-2920
URL:
https://issues.jboss.org/browse/ISPN-2920
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.2.5.Final
Reporter: Mircea Markus
Assignee: Mircea Markus
Fix For: 5.3.0.Alpha1, 5.3.0.Final
In order to filter out the classes that pertain to infinispan, the following condition is
used:
{code:java}
for (String path : javaClassPath.split(File.pathSeparator)) {
if (path.contains("infinispan")) {
files.add(new File(path));
}
}
{code}
The path.contains("infinispan") logic is broken: we should instead look into
the path and all the children dirs for the string "infinispan". This logic only
works if you run the suite in a directory named "infinispan".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: