corda/classpath/java
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
..
io Merge pull request #96 from dscho/filter-input-stream 2013-11-06 09:02:57 -08:00
lang Pass the correct Method instance to the InvocationHandlers 2013-11-27 10:35:48 -06:00
math update copyright years 2013-07-02 20:52:38 -06:00
net update copyright years 2013-07-02 20:52:38 -06:00
nio Add the FileChannel class 2013-10-21 10:59:59 -05:00
security update copyright years 2013-07-02 20:52:38 -06:00
text Implement a minimal SimpleDateFormat 2013-10-21 10:41:40 -05:00
util Merge pull request #95 from dscho/compatible-serialization 2013-11-06 09:02:12 -08:00