uschindler edited a comment on pull request #2176:
URL: https://github.com/apache/lucene-solr/pull/2176#issuecomment-753511728


   @dweiss I found a workaround by adding the include/excludes as we use in Ant 
build. Why were those removed? Should I maybe reopen a new issue.
   
   I have the feeling thois comes from the fact that class files compiled with 
JDK16 and using the new class file format can't be "analyzed" by gradle, so it 
assumes "no idea, let's run it because its a class file". The automatisms don't 
seem to work then. With the include/exclude patterns everything went back to 
normal.
   
   Should we also add those lines to `defaults-tests.gradle` in master branch? 
I don't trust those autodetection, especially it may load read class files that 
it does not need to look at all?:
   ```
         include '**/*Test.class', '**/Test*.class'
         exclude '**/*$*'
   ```


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

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