[
https://issues.apache.org/jira/browse/HADOOP-15775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622925#comment-16622925
]
Andrew Purtell commented on HADOOP-15775:
-----------------------------------------
I don't think this is going to work for Java 11+. javax.activation is gone.
This patch fails.
{noformat}
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.activation not found
{noformat}
You can add it as a third party dependency as artifact
javax.activation:activation and tests will pass. The shaded client modules also
need an update to shade javax/activation/* in. Not sure if this is the best
approach.
> [JDK9] Add "--add-modules java.activation" to java option in unit tests
> -----------------------------------------------------------------------
>
> Key: HADOOP-15775
> URL: https://issues.apache.org/jira/browse/HADOOP-15775
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: test
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> Priority: Critical
> Attachments: HADOOP-15775.01.patch
>
>
> Many unit tests fail due to missing java.activation module. We need to
> configure maven surefire plugin to add "--add-modules java.activation" option
> to test JVM.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]