corda/classpath
Johannes Schindelin 0a179355f4 Pass the correct Method instance to the InvocationHandlers
We should pass the method of the original interface to the
InvocationHandler, not the method of the interface.

That way, proxy instances of annotations will have easy access to
the default values.

This happens to be compatible with the way Oracle Java does it, too.

To accomplish our goal, we keep a global map between proxy classes and
Method references and assign the appropriate list to a field of the
Proxy subclass. This means that we now have to call the super-class
constructor in the generated constructor (which is the correct thing to
do anyway... ;-)).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2013-11-27 10:35:48 -06:00
..
avian Use the default value in annotations' proxies 2013-11-26 15:28:20 -06:00
java Pass the correct Method instance to the InvocationHandlers 2013-11-27 10:35:48 -06:00
sun update copyright years 2013-07-02 20:52:38 -06:00
java-io.cpp fix darwin build 2013-10-24 14:07:53 -06:00
java-lang.cpp Adds separatorChar and pathSeparatorChar fields to File ... 2013-11-06 14:05:25 +01:00
java-net.cpp update copyright years 2013-07-02 20:52:38 -06:00
java-nio.cpp update copyright years 2013-07-02 20:52:38 -06:00
java-util-zip.cpp update copyright years 2013-07-02 20:52:38 -06:00
java-util.cpp update copyright years 2013-07-02 20:52:38 -06:00
jni-util.h update copyright years 2013-07-02 20:52:38 -06:00