[PATCH] 8188240: Reflection Proxy should skip static methods
shade at redhat.com
Thu Mar 15 08:57:12 UTC 2018
On 03/15/2018 08:56 AM, Peter Levart wrote:
> Hi Aleksey,
> In test, the following comment:
> 26 * @summary This is a test to ensure that proxies do not inherit static methods.
> I think the word "inherit" is not correct here. Interface static methods can not be inherited. VM
> already ensures that. Perhaps the comment should be:
> "This is a test to ensure that proxies do not try to override interface static methods."
I think word "inherited" there is in "proxy-inherited" sense. "Override" does not seems fitting
either: proxy does not override. Maybe this:
This is a test to ensure that proxies do not try to capture interface static methods.
More information about the core-libs-dev