IG: "Call to notify() on Condition object" incorrect


1) Is there a JIRA for IG issues (should I just use IDEA:Feedback/Code Analysis-Inspection)?

2) new Object().notify(); seems to trigger the "Call to notify() on Condition
object", which this obviously is not.

3) Any plans to add support (that is, inspections) for the new JCiP annotations?


4 comments

1) Just used IDEA:Feedback

2)I'm unable to replicate this.

3)JSR 305 has been started to standardize the various annotations for static analysis. JCiP annotations are specifically mentioned. JetBrains is on the Expert Group, and I've just received permission from work to apply for Expert Group membership as well. I'd love to have concurrency-based annotations and would be thrilled to write inspections for them, although the JCiP ones seem kind of coarse-grained.

--Dave Griffith

0


1) Is there a JIRA for IG issues (should I just use
IDEA:Feedback/Code Analysis-Inspection)?

You are welcome to use IDEA Feedback project.


2) new Object().notify(); seems to trigger the "Call
to notify() on Condition
object", which this obviously is not.

Yes, this is a bug


3) Any plans to add support (that is, inspections)
for the new JCiP annotations?

We plan to implement this as soon as it is settled down by JSR-305 EG in case they find it worth standardizing.

0

Hello Dave,

2)I'm unable to replicate this.

http://www.jetbrains.net/jira/browse/IDEA-9517

3)JSR 305 has been started to standardize the various annotations for
static analysis. JCiP annotations are specifically mentioned.
JetBrains is on the Expert Group, and I've just received permission
from work to apply for Expert Group membership as well. I'd love to
have concurrency-based annotations and would be thrilled to write
inspections for them, although the JCiP ones seem kind of
coarse-grained.

True but it's a start.


0

True but it's a start.

Also mentioned is the CMU Fluid project, which provides much tighter control of aliasing, and much richer semantics for locking requirements. Worth checking out.

--Dave Griffith

0

Please sign in to leave a comment.