Ignoring "Type not found" stub warnings

14 views
Skip to first unread message

Roded Bahat

unread,
Oct 24, 2022, 12:42:23 PM10/24/22
to Checker Framework discussion
Hi,
Is it somehow possible to have CheckerFramework not output the following warnings when a type referenced in  stub is missing?

warning: /home/user/buildSrc/checkerframework/kr.pe.kwonnam.slf4jlambda.LambdaLogger.astub:(line 5,col 1): Type not found: kr.pe.kwonnam.slf4jlambda.LambdaLogger

Thanks

Michael Ernst

unread,
Oct 24, 2022, 12:47:32 PM10/24/22
to Roded Bahat, Checker Framework discussion
Yes, it is possible.  The first item in the "Troubleshooting stub libraries" section of the manual discusses the -AstubNoWarnIfNotFound command-line argument.  Could you try that?

-Mike

--

---
You received this message because you are subscribed to the Google Groups "Checker Framework discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checker-framework-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/checker-framework-discuss/e152e21d-94ae-4147-9885-e0cd8cbbbbc3n%40googlegroups.com.

Roded Bahat

unread,
Oct 24, 2022, 2:35:02 PM10/24/22
to Checker Framework discussion
Thanks for the reply Mike.
I've tried that flag (-AstubNoWarnIfNotFound=true) using the latest checkerframework version and gradle plugin and the warnings persist.

Michael Ernst

unread,
Oct 24, 2022, 2:36:40 PM10/24/22
to Roded Bahat, Checker Framework discussion
That is odd.  I'm sorry to hear it.

Could you please open an issue with a full reproduction?  Then we will fix it.

Thanks,
-Mike

Roded Bahat

unread,
Oct 25, 2022, 6:28:58 PM10/25/22
to Checker Framework discussion
Reply all
Reply to author
Forward
0 new messages