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

Microbench tests fail on JDK11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0.12, 4.1.3, 5.0-alpha1, 5.0
    • CI
    • None

    Description

      When I run 

      ant microbench -Dbenchmark.name=ReadWriteTest

       using jdk8 on ds-trunk, it finishes successfully, but when I run it on jdk11 on ds-trunk, I get this error. 

      Caused by: java.lang.IllegalAccessException: access to public member failed: jdk.internal.ref.Cleaner.clean[Ljava.lang.Object;@5189c629/invokeVirtual, from org.apache.cassandra.io.util.FileUtils (unnamed module @6cbf4322)

      We suspect that ant target does not use the jvmargs as other test targets do.

      Attachments

        1. jdk11-fail.png
          274 kB
          Marianne Lyne Manaog
        2. jdk11-pass.png
          256 kB
          Marianne Lyne Manaog
        3. jdk11-pass-cass-4.0.png
          288 kB
          Marianne Lyne Manaog
        4. jdk11-pass-cass-4.1.png
          246 kB
          Marianne Lyne Manaog
        5. jdk17-fail.png
          261 kB
          Marianne Lyne Manaog
        6. jdk17-pass.png
          259 kB
          Marianne Lyne Manaog
        7. jdk8-fail.png
          238 kB
          Marianne Lyne Manaog
        8. jdk8-pass.png
          243 kB
          Marianne Lyne Manaog
        9. jdk8-pass-cass-4.0.png
          273 kB
          Marianne Lyne Manaog
        10. jdk8-pass-cass-4.1.png
          259 kB
          Marianne Lyne Manaog

        Activity

          People

            marianne-manaog Marianne Lyne Manaog
            marianne-manaog Marianne Lyne Manaog
            Marianne Lyne Manaog
            Brandon Williams, Ekaterina Dimitrova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: