Skip to content

Commit

Permalink
Fix java9And10 profile activation on patches of JDK 10
Browse files Browse the repository at this point in the history
Profile failed to activate on JDK 10.0.2 because version range ended
at JDK 10.0.0. Range "[9, 10]" means "9.0.0 <= x <= 10.0.0". This
change fixes the problem by making the range "[9, 11)" which means
"9.0.0 <= x < 11.0.0". Updated range accepts any minor/patch of JDK 10.
  • Loading branch information
lutovich committed Oct 25, 2018
1 parent addcfe5 commit b7b8bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -904,7 +904,7 @@
<id>java9And10</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>[9, 10]</jdk>
<jdk>[9, 11)</jdk>
</activation>
<properties>
<java.exports>--add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-modules java.xml.bind</java.exports>
Expand Down

0 comments on commit b7b8bcf

Please sign in to comment.