Merged revision(s) 1718132 from lucene/dev/trunk:Add extra check that we can create an AccessControlContext for running test with lower privileges. It's trappy otherwise!
Merged revision(s) 1718069 from lucene/dev/trunk:LUCENE-6920: Improve custom function checks in expressions module to use MethodHandles and work without extra security privileges
LUCENE-6912: Grouping's Collectors now calculate a needsScores() instead of always 'true'.In core, CachingCollector should have always returned true when scores are cached (small bug).
LUCENE-6912: Grouping's Collectors now calculate a needsScores() instead of always 'true'.In core, CachingCollector should have always returned true when scores are cached (small bug).