Jason Copenhaver
Jason Copenhaver
this is still an issue in spotbugs 4.7.2
I just started seeing this as well. We just upgraded to Kotlin 1.8.22 and Detekt 1.23.1. We upgraded to Gradle 8.3 a few months ago so I'm more inclined to...
I think https://github.com/mockk/mockk/blob/9f19288459843b3b8fe2aaf881d28a28cbdd41f3/modules/mockk/src/commonTest/kotlin/io/mockk/impl/recording/states/StubbingStateTest.kt#L28 can be rewritten as `verify(exactly = 0) { recorder.factories.stubbingAwaitingAnswerState(any()) }` similarly I think https://github.com/mockk/mockk/blob/9f19288459843b3b8fe2aaf881d28a28cbdd41f3/modules/mockk/src/commonTest/kotlin/io/mockk/it/ConstructorMockTest.kt#L100 can be `verify(exactly = 0) { anyConstructed() }`
I believe this is related to https://youtrack.jetbrains.com/issue/KTIJ-13874 . In my case I have a Kotlin Run Configuration. Pre-2025.2 IDEA launched it with a java command line. Now it is generating...