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

sketchy MockFileSystem reflection should be in AccessController block

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • New

    Description

      mockfilesystems needs to handle implCloseChannel to track leaks and so on in tests. But this requires some sketchy access to internal classes (sun.nio.ch). We should allow this to be contained to just the test-framework.jar

      Attachments

        1. LUCENE-6791.patch
          2 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: