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

   I'm not sure how you debugged that!
   
   I tried to debug what gradle is doing with this tests counter (hey, a 
stacktrace of the offending setAccessible would be nice), but I think @dweiss  
has seen this before, it is not really possible. As soon as you set 
java.security.debug on the test JVM, gradle test runner dies because it doesn't 
like the stderr prints or something? 
   
   I tried to just add something like this to `tests.jvmargs`: 
   ```
   
-Djava.security.debug=access,failure,permission=java.lang.reflect.ReflectPermission
   ```
   
   Trying to debug just crashes the tests instead, it hits StackOverflowError...
   ```
   OpenJDK 64-Bit Server VM warning: Potentially dangerous stack overflow in 
ReservedStackAccess annotated method 
java.io.BufferedWriter.write(Ljava/lang/String;II)V [1]
   org.gradle.internal.event.ListenerNotificationException: Failed to notify 
output event listener.
   ...
   Caused by: java.lang.StackOverflowError
   ...
   ```


-- 
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