[ 
https://issues.apache.org/jira/browse/HADOOP-19298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888876#comment-17888876
 ] 

ASF GitHub Bot commented on HADOOP-19298:
-----------------------------------------

pan3793 commented on code in PR #7085:
URL: https://github.com/apache/hadoop/pull/7085#discussion_r1797688721


##########
hadoop-project/pom.xml:
##########
@@ -2737,6 +2737,46 @@
         </dependencies>
       </dependencyManagement>
     </profile>
+    <profile>
+      <id>jdk17</id>
+      <activation>
+        <jdk>[17,)</jdk>
+      </activation>
+      <properties>
+        <maven.compiler.release>17</maven.compiler.release>
+        <argLine>
+          --add-opens java.base/jdk.internal.ref=ALL-UNNAMED

Review Comment:
   @slfan1989 @adoroszlai I made a more accurate JPMS option list at 
https://github.com/apache/hadoop/pull/7114 by running all UTs with JDK 17, and 
added them to global `maven-surefire-plugin.argLine` with the option 
`-XX:+IgnoreUnrecognizedVMOptions`





> [JDK17] Add a JDK17 profile
> ---------------------------
>
>                 Key: HADOOP-19298
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19298
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: common
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to