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.

-Aleksey

Reply via email to