jbarberan / beanio

Automatically exported from code.google.com/p/beanio
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 james.a....@gmail.com on 7 May 2014 at 12:11

GoogleCodeExporter commented 8 years ago

Original comment by kevin.s...@gmail.com on 13 May 2014 at 1:49