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

Use JAXBContext.newInstance( String, ClassLoader) #80

Closed
rgra opened this issue Mar 24, 2021 · 1 comment
Closed

Use JAXBContext.newInstance( String, ClassLoader) #80

rgra opened this issue Mar 24, 2021 · 1 comment
Milestone

Comments

@rgra
Copy link

rgra commented Mar 24, 2021

Would it be possible to change
de.kosit.validationtool.impl.ConversionService.initialize(String)
to use
JAXBContext.newInstance(contextPath, ConversionService.class.getClassLoader())
instead of
JAXBContext.newInstance(contextPath)
otherwise I'm getting class loading issues on Java11 in the Equinox OSGi container.

@apenski
Copy link
Collaborator

apenski commented Apr 9, 2021

Definitely possible! Changed the code accordingly and will provide a patch release soon.

@apenski apenski added this to the 1.4.2 milestone Apr 9, 2021
@apenski apenski closed this as completed Apr 9, 2021
rkottmann pushed a commit that referenced this issue Jun 9, 2021
rkottmann pushed a commit that referenced this issue Jun 12, 2021
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

2 participants