Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8991

disable java.util.HashMap assertions to avoid spurious vailures due to JDK-8205399

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: main (9.0), 8.3
    • Component/s: None
    • Labels:
    • Lucene Fields:
      New

      Description

      An incredibly common class of jenkins failure (at least in Solr tests) stems from triggering assertion failures in java.util.HashMap – evidently triggering bug JDK-8205399, first introduced in java-10, and fixed in java-12, but has never been backported to any java-10 or java-11 bug fix release...

      https://bugs.openjdk.java.net/browse/JDK-8205399

      SOLR-13653 tracks how this bug can affect Solr users, but I think it would make sense to disable java.util.HashMap in our build system to reduce the confusing failures when users/jenkins runs tests, since there is nothing we can do to work around this when testing with java-11 (or java-10 on branch_8x)

        Attachments

        1. LUCENE-8991.patch
          1 kB
          Chris M. Hostetter
        2. LUCENE-8991.patch
          0.6 kB
          Chris M. Hostetter

          Issue Links

            Activity

              People

              • Assignee:
                hossman Chris M. Hostetter
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: