On 25/06/2020 17:17, serguei.spit...@oracle.com wrote:
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.New wevrev version is: http://cr.openjdk.java.net/~sspitsyn/webrevs/2020/instr-setAccessible.2/
-Alan.