JDK-8150534 was (perhaps, foolishly) asserting that Constants are universally handled during parsing. However, in some hard-to-reproduce cases, which apparently use patching, this invariant is not correct. We need to investigate if this invariant is always true, and if not, if we can make it true.
relates to
JDK-8150534C1 compilation fails with "Constant field loads are folded during parsing"