Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultPackageFilter should only consider .class files #246

Open
p91paul opened this issue May 19, 2020 · 0 comments
Open

DefaultPackageFilter should only consider .class files #246

p91paul opened this issue May 19, 2020 · 0 comments

Comments

@p91paul
Copy link

p91paul commented May 19, 2020

Classpath may contain files with extensions which are not .class.
For example my classpath contains .xml files (because MyBatis).

Currently ReflectionUtils.removeClassSuffix is called, that removes the .class suffix; however it should filter to consider .class files only before doing that.

Right now my.package.File.xml becomes my.package.Fi and that triggers an error when Class.forName is called on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant