Status: Accepted
Owner: sberlin
New issue 608 by sberlin: Child can rebind a binding that's in parent's JIT
binding set
http://code.google.com/p/google-guice/issues/detail?id=608
Test inside of ParentInjectorTest that should pass, but fails:
public void testChildCannotBindToAParentJitBinding() {
Injector parent = Guice.createInjector();
parent.getInstance(A.class);
try {
parent.createChildInjector(bindsA);
fail();
} catch(CreationException ce) {
// TODO: Validate the msg.
}
}
--
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.