[ 
https://issues.apache.org/jira/browse/CASSANDRA-15738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jon Meredith updated CASSANDRA-15738:
-------------------------------------
    Test and Documentation Plan: 
To test,

Either a clean checkout or remove the {{.idea}} directory, then under Java8 and 
Java11 run {{ant generate-idea-files}} then load the project and compile.

Under Java11, check {{Preferences}} -> {{Build, Execution, Deployment}} -> 
{{Java Compiler}} and there should be an entry underĀ {{Additional command line 
parameters:}} you should see

{code}
--add-exports java.rmi/sun.rmi.registry=ALL-UNNAMED
{code}

Under Java8, no {{.idea/compiler.xml}} file should be generated.
                         Status: Patch Available  (was: Open)

> Generate compiler options file to support Java11 in IDEA.
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-15738
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15738
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build
>            Reporter: Jon Meredith
>            Assignee: Jon Meredith
>            Priority: Normal
>             Fix For: 4.0-rc
>
>
> The change to JMX in CASSANDRA-15653 prevents the generated IDEA project from 
> compiling under JDK11.
> Fix by adding options for a module (named after the checkout dir)
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <project version="4">
>   <component name="JavacSettings">
>     <option name="ADDITIONAL_OPTIONS_OVERRIDE">
>       <module name="trunk" options="--add-exports 
> java.rmi/sun.rmi.registry=ALL-UNNAMED" />
>     </option>
>   </component>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to