Hey guys, I found a problem with an inspection and...
# announcements
g
Hey guys, I found a problem with an inspection and I've found the commit that introduced this inspection, but the problem I think is more with how intelliJ is able to implicitly tag some methods with annotations. In my case,
ProcessBuilder.start()
is somehow intrinsically labeled (annotated?) as Blocking (
@Blocking
?), which is simply wrong. I have no idea how to find out where this metadata about ProcessBuilder.start as being a blocking method is coming from, but I'd like to log it as a bug. How might I do that?
to be specific,
ProcessBuilder.start()
returns
java.lang.Process
object, which is a specialized type of
Job
.
s
In the ThrowsTypeBlockingMethodChecker, it appears to flag all functions that throw IOException as blocking, which the ProcessBuilder.start does.
e
g
@SiebelsTim can you tell me where you learned that? @elizarov I was really hoping to do better than just "hey guys please fix this" with this one.
s
I looked at the commit you linked. There's a class called ThrowsTypeBlockingMethodChecker that looks like it flags these functions. I haven't looked more into it, it's just what I noticed when skimming through.