Package scanner - incorrect names for classes found in JAR files

Class names of classes found in JAR files were missing the name of the
package being scanned (e.g. Assert instead of org.junit.Assert)
This commit is contained in:
Emmanuel BENOîT 2015-09-13 11:22:26 +02:00
parent 7a86275c1a
commit 1f16faa61b

View file

@ -229,7 +229,7 @@ public class PackageScanner
continue;
}
entryName = entryName.replace( '/' , '.' );
entryName = this.name + "." + entryName.replace( '/' , '.' );
if ( names.add( entryName ) ) {
this.classes.add( entryName );
}