[ https://issues.apache.org/jira/browse/HARMONY-6565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jun Zhang closed HARMONY-6565. ---------------------------------- > [java6][classlib][instrument]NoSuchMethodException throws when Agent only implements premain(String) method > ----------------------------------------------------------------------------------------------------------- > > Key: HARMONY-6565 > URL: https://issues.apache.org/jira/browse/HARMONY-6565 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 6.0M2 > Environment: All > Reporter: Shi Jun Zhang > Assignee: Regis Xu > Fix For: 6.0M3 > > Attachments: HARMONY-6565.diff > > > In Java 6 spec, there can be an one argument method premain(java.lang.String) in Agent class if user doesn't implement the premain(java.lang.String, java.lang.instrument.Instrumentation). > NoSuchMethodException should not be thrown if there is either premain(java.lang.String) or premain(java.lang.String, java.lang.instrument.Instrumentation). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.