Updates:
Status: WorkingAsIntended
Comment #1 on issue 789 by sberlin: PrivateModule bindings conflict only if
one of them is exposed
http://code.google.com/p/google-guice/issues/detail?id=789
This is WAI. You have two bindings for
@Named("string") String
in PM1 it's bound to "foo" and in PM2 it's bound to "bar".
If you don't expose the binding, it is OK because everything is private and
nothing conflicts. Once you expose one of them, it prevents the other from
being private because "exposing" means that the parents & other children
can see & use it, and PM2 now would have two bindings for @Named("string")
String, which isn't OK.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.