Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3805

org.springframework.ide.eclipse.core.java.TypeStructure incompatible with Java 8 JDT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.1.RELEASE
    • Component/s: None
    • Labels:
      None

      Description

      The TypeStructure class in spring-ide core has a compilation error when compiled againgst target platform that includes JDT with Java 8 support.

      This is the error:

      The type TypeStructure must implement the inherited abstract method IBinaryType.getTypeAnnotations()	
      Location: 
         TypeStructure.java
         /org.springframework.ide.eclipse.core/src/org/springframework/ide/eclipse/core/java	
         line 32
      

      I don't know how to solve this because implementing the method will create a reference to IBinaryTypeAnnotation, a class that is new in Java 8 supported JDT. Therefore this will make the code not compile or run against older versions of JDT.

        Attachments

          Activity

            People

            Assignee:
            kdvolder Kris De Volder
            Reporter:
            kdvolder Kris De Volder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: