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

[CAMEL-13076] ObjectHelper does no longer see META-INF/services from … #2715

Merged
merged 1 commit into from Jan 18, 2019

Conversation

tdiesler
Copy link
Contributor

…camel-core

Copy link
Contributor

@oscerd oscerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'd like to have the feedback of @gnodet and @davsclaus too.. Can you run mvn -Psourcecheck to fix CS? Thanks a lot!


return in;
try {
URL res = loadResourceAsURL(name);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked into the JDK source and its loadResourceAsStream does the same here to load via URL first and then open its stream. So we can safely do this also in Camel.

@davsclaus
Copy link
Contributor

Yeah need CS fixes.

With this change with TCCL etc we need just to be aware/remember this for OSGi tests when we get them working on master that it can also work there - eg OSGi classloading is also complex.

@davsclaus davsclaus merged commit e220844 into apache:master Jan 18, 2019
@tdiesler tdiesler deleted the CAMEL-13076 branch January 22, 2019 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants