uschindler commented on PR #13146:
URL: https://github.com/apache/lucene/pull/13146#issuecomment-1973230903

   > I did track it down to gradle's test listeners - it looks like a bug to 
me. Whatever this delegation is doing, even a simple check on whether the 
target method is already accessible (or even public) would be sufficient for 
this to work.
   >
   > Oh well.
   
   And on top of this, as usual AccessController#doPrivileged is missing, which 
is the main bug here. With AcessController#doProvileged, the policy file would 
assign the AllPermission, which was added for Gradle's Test Runner JAR file. 
But without the AccessController, the top-level caller (our test case) is then 
hit by the more restricted permission.
   
   Oh well! *puke*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to