Class AtomicityProblem

All Implemented Interfaces:
Detector, Priorities, org.apache.bcel.classfile.Visitor

public class AtomicityProblem extends OpcodeStackDetector
if we get from a ConcurrentHashMap and assign to a variable... and don't do anything else and perform a null check on it... and then do a set on it... (or anything else inside the if that modifies it?) then we have a bug.
  • Field Details

    • priority

      int priority
    • lastQuestionableCheckTarget

      int lastQuestionableCheckTarget
    • bugReporter

      private final BugReporter bugReporter
    • DEBUG

      static final boolean DEBUG
      See Also:
  • Constructor Details

    • AtomicityProblem

      public AtomicityProblem(BugReporter bugReporter)
  • Method Details