mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
0a179355f4
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> |
||
---|---|---|
.. | ||
io | ||
lang | ||
math | ||
net | ||
nio | ||
security | ||
text | ||
util |