[ 
https://issues.apache.org/jira/browse/GROOVY-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509215#comment-14509215
 ] 

Jochen Theodorou commented on GROOVY-7400:
------------------------------------------

simple program for illustration:{code:Java}
class X {
    public void setProperties(Object... fields){1}
}
new X().getProperties()
{code}

> Stack Overflow on getProperties of a bean that has setProperties method 
> defined
> -------------------------------------------------------------------------------
>
>                 Key: GROOVY-7400
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7400
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Emanuele 
>
> If is defined a setter with this java signature:
> public <T extends Object> T setProperties1(final Object... fields) 
> at the call of getProperties() on the bean will get a stackoverflow.
> this issue  was discovered in orientdb, related issue : 
> https://github.com/orientechnologies/orientdb/issues/3918 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to