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

   fyi,
   
   Caffeine only depends on annotations for static analysis. This allows users 
to catch mistakes easier, e.g. if using a null checker.
   
   Traditionally these could be marked as optional dependencies. Unfortunately 
bugs in scalac, javac, Java modules, etc could cause runtime failures if 
annotations are not found on the classpath. While that is a spec violation, 
it’s less risky to include at compile scope and ask users who are adverse to 
exclude transitives in their build system.


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