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

TestLRUQueryCache.testDetectMutatedQueries does not work on Java 9 b150

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
    • Lucene Fields:
      New

      Description

      For some strange reason, the test testDetectMutatedQueries of TestLRUQueryCache suite does not trigger the ConcurrentModificationException on changing the hashCode (see BadQuery class).

      I have no idea why this happens, so I will disable this test on Java 9 for now.

      The other test also fails with Java 9 because of RamUsageTester (LUCENE-7595), but this is unrelated, so I opened a separate issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                uschindler Uwe Schindler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: