Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-388

Generic Type inference doesn't work in Eclipse

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Graph
    • Labels:
      None
    • Environment:

      Eclipse Java EE IDE for Web Developers.

      Version: Indigo Service Release 1
      Build id: 20110916-0149

      Description

      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:

      Type mismatch: cannot convert from SpanningTree<BaseLabeledVertex,BaseLabeledWeightedEdge<Double>,Object> to SpanningTree<BaseLabeledVertex,BaseLabeledWeightedEdge<Double>,Double>

      Looking for a solution

        Attachments

        1. SANDBOX-388_FixForGenericTypesInEclipse.patch
          7 kB
          Claudio Squarcella
        2. sandbox-388.txt
          3 kB
          Steven Dolg

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              simone.tripodi Simone Tripodi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: