Github user martin-g commented on a diff in the pull request:
https://github.com/apache/wicket/pull/114#discussion_r33141370
--- Diff:
wicket-guice/src/main/java/org/apache/wicket/guice/GuiceFieldValueFactory.java
---
@@ -64,15 +68,34 @@ public Object getFieldValue(final Field field, final
Object fieldOwner)
{
boolean optional = injectAnnotation !=
null && injectAnnotation.optional();
Annotation bindingAnnotation =
findBindingAnnotation(field.getAnnotations());
- final IProxyTargetLocator locator = new
GuiceProxyTargetLocator(field, bindingAnnotation, optional);
+ final GuiceProxyTargetLocator locator =
new GuiceProxyTargetLocator(field, bindingAnnotation, optional);
+
+ Object cachedValue = cache.get(locator);
--- End diff --
I'm going to revert all non-Objenesis caches.
This should be in separate ticket.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---