Status: New
Owner: ----

New issue 610 by [email protected]: requireExplicitBindings() is incompatible with bindConstant()
http://code.google.com/p/google-guice/issues/detail?id=610

I would like to use requireExplicitBindings() to verify that I am not accidentally experiencing JIT binding of zero-arg constructor objects that I do not expect.

Unfortunately, I also make use of bindConstant(), and the explicit binding checker does not consider a bindConstant() binding to be explicit enough.

I found this unexpected, and would suggest that bindConstant() bindings should satisfy the explicitness checker, so that I can have both the benefits of explicitness checking and of configuration constant injection.

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to