Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Add support for Guice's Modules.override() #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vschafer
Copy link

Using Modules.override() will make current jersey2-juice code loose the information whether the binding originally belongs to JerseyModule or not. This change fixes the issue by checking both the current module or a binding and the original one.

… wasn't taking into account that the module might be obscured, and did not check for the original one. This is problematic when using Guice's Modules.override() method. The change will make sure to verify both the current and original module.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant