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.spit...@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.

Reply via email to