Skip to content

fix: ShrinkWrapClassLoader finds ServiceProviders in WAR - #49

Merged
bartoszmajsak merged 1 commit into
shrinkwrap:mainfrom
DavideD:SHRINKWRAP-369
Feb 12, 2022
Merged

bartoszmajsak merged 1 commit into
shrinkwrap:mainfrom
DavideD:SHRINKWRAP-369

Conversation

@DavideD

@DavideD DavideD commented Jan 31, 2012

Copy link
Copy Markdown
Contributor

Can this work?

The ShrinkwrapClassloader look for a specified path and if it cannot find the ndoe than look for the asset in WEB-INF/classes/

@DavideD

DavideD commented Jan 31, 2012

Copy link
Copy Markdown
Contributor Author

This is a branch of arquillian-container-weld with the tests and a patch.
https://github.com/DavideD/arquillian-container-weld/commits/S-369

With this patch I try to intercept the loading of a service but I'm not so sure I'm using the right approach.

@ALRubinger
ALRubinger deleted the branch shrinkwrap:main December 22, 2021 11:00
@ALRubinger ALRubinger closed this Dec 22, 2021
@bartoszmajsak bartoszmajsak reopened this Dec 23, 2021
@DavideD

DavideD commented Feb 6, 2022

Copy link
Copy Markdown
Contributor Author

I'm surprised to see my PR re-opened. I've rebased it to the latest changes in main if it's something that can be helpful.
It's been 10 years, so I don't remember anything about it :)

@bartoszmajsak

Copy link
Copy Markdown
Contributor

I'm surprised to see my PR re-opened.

It was never closed @DavideD intentionally :) It was mistakenly closed while changing branch name from master -> main. Thanks for taking care of keeping it up-to-date. I will go over it this weekend. Cheers!

@bartoszmajsak bartoszmajsak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two minor suggestions. Thanks for taking care of the rebase!

@DavideD

DavideD commented Feb 11, 2022

Copy link
Copy Markdown
Contributor Author

I've updated the branch

@bartoszmajsak bartoszmajsak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you!

@bartoszmajsak bartoszmajsak changed the title [SHRINKWRAP-369] ShrinkWrapClassLoader find ServiceProviders in WAR fix: ShrinkWrapClassLoader finds ServiceProviders in WAR Feb 12, 2022
@bartoszmajsak
bartoszmajsak merged commit 8260bc5 into shrinkwrap:main Feb 12, 2022
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

Successfully merging this pull request may close these issues.

3 participants