commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (SANDBOX-388) Generic Type inference doesn't work in Eclipse
Date Tue, 07 Feb 2012 15:44:59 GMT


Simone Tripodi resolved SANDBOX-388.

    Resolution: Fixed
      Assignee: Simone Tripodi

You guys made me the happiest man in the world today, Thanks Steven & Claudio!!!

I applied Claudio's patch that provides a more abstracted APIs, but *thank you* Steven for
the intuition!!!

Fixed on [r1241491|], all the best!
> Generic Type inference doesn't work in Eclipse
> ----------------------------------------------
>                 Key: SANDBOX-388
>                 URL:
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Graph
>         Environment: Eclipse Java EE IDE for Web Developers.
> Version: Indigo Service Release 1
> Build id: 20110916-0149
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>            Priority: Blocker
>         Attachments: SANDBOX-388_FixForGenericTypesInEclipse.patch, sandbox-388.txt
> {{Flow}} and {{MST}} EDSL is affected by generic type inference issue, it simply doesn't
work in Eclipse. It works in IDEA, but in the Eclipse forum they reported that doesn't work
if the code is compiled with Oracle JDK7.
> One of the reported error in Eclipse is:
> {quote}
> Type mismatch: cannot convert from SpanningTree<BaseLabeledVertex,BaseLabeledWeightedEdge<Double>,Object>
to SpanningTree<BaseLabeledVertex,BaseLabeledWeightedEdge<Double>,Double>
> {quote}
> Looking for a solution

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message