Hi,
On Sat, Oct 12, 2013 at 3:24 AM, eloyArce <[email protected]> wrote: > Hi, > > I've tried version 6.9.0, and it is really what I was looking for. But i'm > having trouble to use it in anonymous inner classes (very common in wicket) > like the one in the your TestCase. > > The problem is that reflection can't invoke methods on anonymous inner > classes, unless the containing class is in the same package that the one > that is using reflection (AnnotationEventSink in this case) > > Thet TestCase works great because AnnotationEventDispatcherTest is in the > package org.wicketstuff.event.annotation (like AnnotationEventSink ) > > Do you think it is possible to resolve this without using > /method/.setAccessible(true) ? > (that approach may not work if a SecurityManager is in place) > Please create a ticket at https://github.com/wicketstuff/core/issues. A test case would help a lot. > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/reworking-events-to-be-type-safe-for-Wicket-7-tp4659155p4661802.html > Sent from the Forum for Wicket Core developers mailing list archive at > Nabble.com. >
