This is an automated email from the ASF dual-hosted git repository. djoshi pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push: new c4db3f8 Generate compiler options file to support Java11 in IDEA. c4db3f8 is described below commit c4db3f89a9a07c45c78da9b5b3f802a6f8b51531 Author: Jon Meredith <jmeredit...@apple.com> AuthorDate: Fri Apr 17 14:17:49 2020 -0600 Generate compiler options file to support Java11 in IDEA. The change to JMX in CASSANDRA-15653 prevents the IDEA project from compiling under JDK11. This change adds the required compiler flag when the project is upgraded from Java1.8 to Java11. Patch by Jon Meredith; Reviewed by Dinesh Joshi for CASSANDRA-15738 --- build.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.xml b/build.xml index cdc3c64..5752b2d 100644 --- a/build.xml +++ b/build.xml @@ -2136,6 +2136,13 @@ match="name="VM_PARAMETERS" value="(.*)"" replace="name="VM_PARAMETERS" value="\1 ${java11-jvmargs}"" byline="true"/> + + <echo file=".idea/compiler.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="JavacSettings"> + <option name="ADDITIONAL_OPTIONS_STRING" value="--add-exports java.rmi/sun.rmi.registry=ALL-UNNAMED" /> + </component> +</project>]]></echo> </target> <!-- Generate IDEA project description files --> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org