Code Review Request: More tests for 7184826: (reflect) Add support for Project Lambda concepts in core reflection
Joel Borggrén-Franck
joel.franck at oracle.com
Thu Jul 25 14:21:44 UTC 2013
Hi Dan,
Thanks for looking at this,
On Jul 23, 2013, at 11:12 PM, Dan Smith <daniel.smith at oracle.com> wrote:
> Hi.
>
> Per a request from Joel, I've taken a look at DefaultStaticTestData. I don't really have the full context here, but I'm assuming that the annotations get translated into tests that guarantee 1) the result of Class.getMethods is exactly (no more -- excepting Object methods -- and no less) those methods named by MethodDesc annotations; and 2) the result of Class.getDeclaredMethods is exactly (no more, no less) those methods that are marked "declared=YES".
This is the intention. Sorry if I was vague on the format, but I suppose this proves it is possible to decipher the expected results even though you lack the full context.
cheers
/Joel
More information about the core-libs-dev
mailing list