<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <font size="4"><font face="monospace">There's a document on these
        shifts coming soon.</font></font><br>
    <br>
    <div class="moz-cite-prefix">On 5/22/2023 11:08 AM, Remi Forax
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:63319410.61631771.1684768111794.JavaMail.zimbra@univ-eiffel.fr">
      
      <div style="font-family: arial, helvetica, sans-serif; font-size:
        12pt; color: #000000">
        <div><br>
        </div>
        <div><br>
        </div>
        <hr id="zwchr" data-marker="__DIVIDER__">
        <div data-marker="__HEADERS__">
          <blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From:
            </b>"Julian Waters" <a class="moz-txt-link-rfc2396E" href="mailto:tanksherman27@gmail.com"><tanksherman27@gmail.com></a><br>
            <b>To: </b>"valhalla-dev" <a class="moz-txt-link-rfc2396E" href="mailto:valhalla-dev@openjdk.org"><valhalla-dev@openjdk.org></a><br>
            <b>Sent: </b>Monday, May 22, 2023 4:41:59 PM<br>
            <b>Subject: </b>What happened to primitive classes?<br>
          </blockquote>
        </div>
        <div data-marker="__QUOTED_TEXT__">
          <blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
            <div dir="ltr">Sorry if this is a silly question, but I
              recently browsed through JEP-401 to find that all
              references to primitive classes have been completely
              scrubbed, as if they were never there at all. I haven't
              been keeping up to date with Valhalla lately, so I
              can't tell what the changes (if any) have been. Did they
              move elsewhere or were they changed to something else?</div>
          </blockquote>
          <div><br>
          </div>
          <div>Yes, all values classes are now nullable by default.<br data-mce-bogus="1">
          </div>
          <div>The equivalent of the old primitive class is a
            non-nullable value class with a default instance.<br data-mce-bogus="1">
          </div>
          <div><br data-mce-bogus="1">
          </div>
          <div>If you declare the value class Range like the first
            example of the JEP-401, Range! (not the '!') is what is the
            closest to the old primitive class.  <br data-mce-bogus="1">
          </div>
          <div><br data-mce-bogus="1">
          </div>
          <blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
            <div dir="ltr"><br>
              <div>best regards,</div>
              <div>Julian</div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>regards,<br data-mce-bogus="1">
          </div>
          <div>RĂ©mi<br data-mce-bogus="1">
          </div>
          <div><br data-mce-bogus="1">
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>