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

ClassLoader in org.beanio.internal.util.IOUtil.getResource() is ignored #109

Open
GoogleCodeExporter opened this issue Mar 27, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?  If applicable, please provide a
mapping configuration and sample record input to recreate the problem.
1.Set a custom classloader on XmlMappingParser
2.parse file using a classpath
3.classpath entries are not pulled from custom classloader.

What is the expected output? What do you see instead?
Expect test to see if classloader is null, otherwise use current thread cl or 
IOUtil's cl.

What version of BeanIO are you using? What JDK version?
2.1/java6

Fix would be just adding a null check on the passed in classloader?

Original issue reported on code.google.com by [email protected] on 7 May 2014 at 12:11

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 13 May 2014 at 1:49

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

@mron7
Copy link

mron7 commented Nov 17, 2023

The supposed fix for this under commit b6bff3c didn't do anything at all to address the issue of ignoring the parameter classLoader. See my comment on that commit.

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

No branches or pull requests

3 participants