ben-manes commented on PR #16578:
URL: https://github.com/apache/kafka/pull/16578#issuecomment-2226764528

   > warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
   
   You could use `-Xlint:-processing` to disable that warning. There isn't any 
targeted way to suppress it that I am aware of, and experience it as well due 
to dependencies excluding annotations that javac wants. For example when JMH 
creates its fat jar then Apache's Jackrabbit relocation of Guava emits this 
warning due to them not relocating the annotations along with it. It's about 
potentially missing classes for compile-time annotation processors, which if 
fair if they would query for it but is not useful otherwise. It would be nice 
if javac could allow more targeted suppressions to avoid disabling the entire 
category.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to