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

Adopt JDK options for tests when running Java9+

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 7.2, 8.0
    • None
    • New

    Description

      Currently, Policeman Jenkins uses --illegal-access=deny when running tests on Java 9 or later. We should do this by default, so we ensure that nothing uses private APIs of the JDK or tries to do setAccessible() on runtime classes.

      Attachments

        1. LUCENE-8035.patch
          1 kB
          Uwe Schindler

        Activity

          People

            uschindler Uwe Schindler
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: