-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
None
This is one of several rules related to Java EE modules that have been removed from OpenJDK11.
Refer to this section of the OpenJDK Migration Guide document or this section of the Oracle JDK11 Release notes.
The new ruleset must be added to the folder path
windup-rulesets/rules-reviewed/openjdk11/openjdk8/
Called removed-javaee-modules.windup.xml
The rule must have the same source and target as used in the first OpenJDK11 rule implemented:
windup-rulesets/rules-reviewed/openjdk11/openjdk8/java-removals.windup.xml
The when criteria for the rule should identify the presence of the
import javax.activation statement.
An example of an existing ruleset that uses package import for the selection criteria is windup-rulesets/rules-reviewed/eap8/eap7/javax-to-jakarta-package.windup.xml
That example ruleset uses a parameter for pattern matching. That is not required for this rule.
hint:
title: The java.activation (JAF) module has been removed from OpenJDK 11
effort: 1
category-id: mandatory
message:
Add the `jakarta.activation` dependency to your application's `pom.xml`
`<groupId>jakarta.activation</groupId>`
`<artifactId>jakarta.activation</artifactId>`
link:
title: Removed Java EE modules
href: https://www.oracle.com/java/technologies/javase/11-relnote-issues.html#JDK-8190378