[ https://issues.apache.org/jira/browse/CASSANDRA-14627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573483#comment-16573483 ]
Jordan West commented on CASSANDRA-14627: ----------------------------------------- This is slightly different from CASSANDRA-14613 in that {{ide/workspace.xml}} is broken instead of {{ide/idea-iml-file.xml}} but I'm happy to dupe this to it. I do think a short term fix for this is warranted: at a minimum, breaking Java 11 in the IDE instead of Java 8. > CASSANDRA-9608 broke running Cassandra and tests in IntelliJ under Java 8 > ------------------------------------------------------------------------- > > Key: CASSANDRA-14627 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14627 > Project: Cassandra > Issue Type: Bug > Components: Testing > Reporter: Jordan West > Priority: Critical > > CASSANDRA-9608 added a couple hard-coded options to workspace.xml that are > not supported in Java 8: > https://github.com/apache/cassandra/commit/6ba2fb9395226491872b41312d978a169f36fcdb#diff-59e65c5abf01f83a11989765ada76841. > > {code} > Unrecognized option: --add-exports > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > {code} > To reproduce: > 1. Update to the most recent trunk > 2. rm -rf .idea && ant generate-idea-files > 3. Re-open the project in IntelliJ (using Java 8) and run Cassandra or a > test. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org