eric-milles opened a new pull request, #2472:
URL: https://github.com/apache/groovy/pull/2472

   Java classes as well as Groovy classes with special super types with 
generics (see GROOVY-11929) have abstract methods in the `methodsForSuper` 
index.  These can be discarded, since they are not callable.  This is an 
extension of the culling of bridge and some other methods from this index.
   
   In the test example, the index for `EntityDaoImpl` contains an entry `save: 
["save(T) from AbstractDao", "save(Entity) from EntityDao"]` before 
`MetaClassImpl#replaceWithMOPCalls` runs.  After it runs the index contains 
`save: ["super$2$save(Object) from EntityDaoImpl", "save(Entity) from 
EntityDao"]`.  "save(Entity)" is abstract and is not replaced by a MOP method 
(due to the parameter matching).  So discard it to prevent the runtime error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to