[
https://issues.apache.org/jira/browse/HADOOP-19298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888880#comment-17888880
]
ASF GitHub Bot commented on HADOOP-19298:
-----------------------------------------
slfan1989 commented on code in PR #7085:
URL: https://github.com/apache/hadoop/pull/7085#discussion_r1797690932
##########
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:
```
<profile>
<id>jdk9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<argLine>
${maven-surefire-plugin.argLine}
</argLine>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>${javac.version}</source>
<additionalOptions>--ignore-source-errors</additionalOptions>
<failOnError>false</failOnError>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
```
> [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
> Labels: pull-request-available
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]