15 RFR(XS): 8165276: Spec states that invoke the premain method in an agent class if it's public but implementation differs
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Thu Jun 25 18:55:19 UTC 2020
Thanks you for reviewing, Alan!
I'll check if it can be fixed.
Thanks,
Serguei
On 6/25/20 11:07, Alan Bateman wrote:
> On 25/06/2020 17:17, serguei.spitsyn at oracle.com wrote:
>>
>> New wevrev version is:
>> http://cr.openjdk.java.net/~sspitsyn/webrevs/2020/instr-setAccessible.2/
>>
> One inconsistency is that it uses getDeclaredMethod to find the 2-arg
> premain and getMethod to find the 1-arg premain. The latter will fail
> if the method is not public so you won't get the nice exception
> message. I wonder if we could fix this at the same time.
>
> -Alan.
More information about the serviceability-dev
mailing list