RFR: 8328536: javac - crash on unknown type referenced in yield statement [v2]
Hannes Greule
hgreule at openjdk.org
Mon May 20 14:56:28 UTC 2024
On Fri, 17 May 2024 12:18:47 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> Hannes Greule has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - Merge branch 'refs/heads/master' into fix/switch-yield-unknown-type-crash
>> - add bug id
>> - Fix jshell crash on unknown type in switch yield
>
> We've discussed with @mcimadamore offline, and changing the output for `T7188968` based on the change I've suggested yesterday is probably OK. I am pretty sure the output for the other two tests is better (more correct) with the suggested change. So, if possible, I would suggest to go with the that change, adjusting the tests.
>
> Thanks!
I adapted your suggested changes and adjusted the tests.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18383#issuecomment-2120621912
More information about the compiler-dev
mailing list