[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3893) JavaAssist fails to instrument classes that clarify method return type

Paul Pogonyshev (JIRA) noreply at atlassian.com
Mon May 4 11:11:17 EDT 2009


JavaAssist fails to instrument classes that clarify method return type
----------------------------------------------------------------------

                 Key: HHH-3893
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3893
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.3.1
         Environment: 3.3.1.GA
            Reporter: Paul Pogonyshev
            Priority: Minor


Javassist refuses to instrument classes where one or more method clarify return type declared in superclass or interface.  This is allowed by Java, so I consider this a bug.  Error message given by Javassist is 'duplicate method'.

Code is roughly like this:

class Base {
    Base getParent();
}

class Inherited extends Base {
    Inherited getParent();
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list