• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • OpenJDK8 -> OpenJDK11
    • None
    • Sprint 215 AMM, Sprint 217 AMM

      This is an additional rule to be added to the ruleset (created via WINDUPRULE-772)
      windup-rulesets/rules-reviewed/openjdk11/openjdk8/removed-javaee-modules.windup.xml

      The when criteria for the rule should identify the presence of the
      import javax.annotation{*} statement.

      The {*} represents the wildcard.

      hint:
      title: The java.annotation (Common Annotations) module has been removed from OpenJDK 11
      effort: 1
      category-id: mandatory
      message:
      Add the `jakarta.annotation` dependency to your application's `pom.xml`
      `<groupId\>jakarta.annotation<\groupId\>`
      `<artifactId\>jakarta.annotation-api<\artifactId\>`

      link:
      title: Removed Java EE modules
      href: https://www.oracle.com/java/technologies/javase/11-relnote-issues.html#JDK-8190378

       

      We could add the following import statement to the CompleteDukeApplication.java test class

      import javax.annotation.Resource;

            Unassigned Unassigned
            pcattana Philip Cattanach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: