JLS primitive type in patterns draft

Archie Cobbs archie.cobbs at gmail.com
Wed Oct 18 14:36:09 UTC 2023


On Tue, Oct 10, 2023 at 11:09 AM Angelos Bimpoudis <
angelos.bimpoudis at oracle.com> wrote:

> The new (latest) URL now includes the JEP number:
>
>
> https://cr.openjdk.org/~abimpoudis/instanceof/jep443-20231010/specs/instanceof-jls.html
>

I have a small comment regarding §5.5.1:

> If a conversion is exact then it is guaranteed that it will yield a value. *An
> inexact conversion may yield a value regardless whether it was exact or
> not.*
>
That second sentence is awkwardly phrased ("regardless whether").

Would this be clearer?

> If a conversion is exact then it is guaranteed that it will yield a value.*
> An inexact conversion may or may not yield a value.*
>
-Archie

-- 
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-experts/attachments/20231018/b0d53cc5/attachment-0001.htm>


More information about the amber-spec-experts mailing list