<div dir="ltr"><div style="font-family:monospace" class="gmail_default"><br>Hello Amber Dev Team,<br><br>I have a feature request to be included as part of JEP 455 -- Primitive Patterns.<br><br>> Since the boolean type (and its corresponding boxed type)<br>> has only two distinct values, a switch that lists both<br>> the true and false cases is considered exhaustive:<br>> <br>> boolean b = ...<br>> switch (b) {<br>>   case true -> ...<br>>   case false -> ...<br>>   // Alternatively: case true, false -> ...<br>> }<br>> <br>> It is a compile-time error for this switch to include a<br>> default clause.<br><br>I formally request that this functionality be extended to the primitive type byte.<br><br>Thank you for your time and help!<br>David Alayachew<br></div></div>