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.
    Author:
    Michael Midgley-Biggs