Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14627

CASSANDRA-9608 broke running Cassandra and tests in IntelliJ under Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • None
    • Legacy/Testing
    • Critical

    Description

      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.

      Unrecognized option: --add-exports
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

      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.

      Attachments

        Activity

          People

            jwest Jordan West
            jwest Jordan West
            Jordan West
            Jason Brown
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: