Class AtomicityProblem

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

    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