Java Cup
Inside Java

News and views from members of the Java team at Oracle

Guards

Let me try and summarize all that has been said on the Guards topic. For `instanceof`, we don't need any sort of guard right now (with the patterns we have); we can already conjoin arbitrary boolean expressions with `&&` in all the contexts we can use `instanceof`


More at https://mail.openjdk.java.net/pipermail/amber-spec-experts/2021-March/002862.html.