rmuir opened a new issue, #12057:
URL: https://github.com/apache/lucene/issues/12057

   ### Description
   
   I was looking at new error-prone checks in #12056 and one fails on 
Object.finalize
   
   Because the method is in the built-in JDK deprecated list (e.g. 
https://github.com/policeman-tools/forbidden-apis/blob/main/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-deprecated-11.txt#L195),
 I would expect the check to fail if i override finalize.
   
   If I give `lucene/core/src/test/org/apache/lucene/TestDemo.java` a finalizer 
method, nothing fails. It makes me worried the built-in signatures lists aren't 
being applied somehow? Maybe the gradle task matching logic in the 
forbidden-apis config is buggy? not sure what is going on. cc: @uschindler 
   
   ### Version and environment details
   
   _No response_


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