Community
Participate
Working Groups
Repro: final boolean x = true; String.format("%s", x ? "a": "b"); // Error: "x cannot be resolved or is not a field" The problem also manifests itself if x is a static final field. The problem disappears if the tertiary expression is not a parameter. The problem showed up right after upgrading from 4.17 to 4.18.
*** This bug has been marked as a duplicate of bug 569498 ***