RFR: JDK-8249261: AssertionError in StructuralStuckChecker
maurizio.cimadamore at oracle.com
Thu Jul 16 13:20:26 UTC 2020
This is a fine fix, I'd suggest adding a comment which explains the need
for the override (e.g. skip over condition) or it might look cryptic in
No need for another review.
On 16/07/2020 13:57, Jan Lahoda wrote:
> For (erroneous) code like:
> p(T::t ? 1 : 0);
> there is a failed assert in
> The given JCMemberReference (for "T::t") does not have an overload
> kind set. This is because it never goes through ArgumentAttr, as the
> target type is known.
> I suspect a reasonable solution is for the StructuralStuckChecker to
> not run on conditions in the conditional expression, which is what the
> proposed patch is doing. But ideas for a better solution are welcome.
> Proposed patch:
> What do you think?
More information about the compiler-dev