Github user zentol commented on the issue: https://github.com/apache/flink/pull/6398 well, that's a fairly general statement isn't it :/ Unless we find any mention anywhere of a major JVM not adhering to the JLS in this regard, that is suited for Flink applications, I would go with a volatile long. Personally i never follow inspections at face value; we don't know how up-to-date this inspections or what information it is based on, which JVMs it applies to as it doesn't mention even a single example, and as with all JVM-/environment-specific inspections the applicability is questionable.
---