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

Sergi Vladykin commented on IGNITE-3254:
----------------------------------------

I think the fix must be relatively easy: if we have duplications possible 
because of generated bridges we have to pick method with the most specific 
return type. If return types do not belong to the same type hierarchy, then 
throw exception.

> Valid SQL index configuration is not accepted in certain cases
> --------------------------------------------------------------
>
>                 Key: IGNITE-3254
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3254
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>         Environment: java 8
>            Reporter: Alexei Scherbakov
>            Assignee: Sergi Vladykin
>             Fix For: 1.7
>
>         Attachments: Example.java
>
>
> In certain cases involving inheritance valid SQL configuration is not 
> accepted when run under java 8. See example in the attachment.
> The reason is the different behavior of getDeclaredMethods in
> java 7 and java 8, leading to duplication of indexes in latter.
> More details here:
> http://stackoverflow.com/questions/27013542/getdeclaredmethods-behaving-differently-in-java-7-vs-java-8



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

Reply via email to