15 RFR(XS): 8165276: Spec states that invoke the premain method in an agent class if it's public but implementation differs

Alan Bateman Alan.Bateman at oracle.com
Wed Jun 24 09:43:30 UTC 2020


On 24/06/2020 10:26, David Holmes wrote:
>
>
> If we call setAccessible(true) then canAccess will return true.
Sure but the bug fix will remove the setAccessible(true) so canAccess 
will do what he wants without needing to catch the exception. This is of 
course all a side show to the important issue of aligning the spec and 
implementation.

-Alan


More information about the serviceability-dev mailing list