EventHandler currently caches the Method of the target. This is problematic for the following reasons: EventHandlers are typically attached to ui components that notify the listener based on a user gesture. Because they're driven from user interaction EventHandler's are sporadically notified. As such, caching the Method adds unneeded overhead to applications. If we cache the method, and we get the wrong method there can be problems if we can later find the right method. This would likely only happen with method overloading, and an exception will be thrown, but it's still possible. ###@###.### 2004-12-17 22:52:38 GMT
|