I have found that using the Java "Clean Workspace Cache..." command resets this, and after running it, the previous inadvertently-ignored warning shows up again.