Skip to content

Commit

Permalink
HADOOP-19298. [JDK17] Add a JDK17 profile. (#7085) Contributed by Shi…
Browse files Browse the repository at this point in the history
…lun Fan.

Reviewed-by: Steve Loughran <[email protected]>
Reviewed-by: Attila Doroszlai <[email protected]>
Reviewed-by: Cheng Pan <[email protected]>
Reviewed-by: Min Yan <[email protected]>
Signed-off-by: Shilun Fan <[email protected]>
  • Loading branch information
slfan1989 authored Oct 18, 2024
1 parent 6589d9f commit f931ede
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hadoop-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2754,6 +2754,16 @@
</dependencies>
</dependencyManagement>
</profile>
<!-- We added this profile to support compilation for JDK 9 and above. -->
<profile>
<id>java9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>${javac.version}</maven.compiler.release>
</properties>
</profile>
</profiles>

<repositories>
Expand Down

0 comments on commit f931ede

Please sign in to comment.