<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CAAfFNYEc8qnY0_YMEG6svhT=0AQtpDjQeDQ_8_CURm_4=43HRA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:verdana,sans-serif">Since the const keyword
          is not used in Java can this be operposed for compile time
          evaluation? Classes, interfaces, methods, fields marked with
          const will only be available at compile time and would be
          fully evaluated and replaced with the results in runtime
          bytecode.</div>
      </div>
    </blockquote>
    <br>
    Better support for compile-time constant folding is a laudable goal
    (see <a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=iSEjlLFCS3E">https://www.youtube.com/watch?v=iSEjlLFCS3E</a> for an exploration
    of just some of the issues involved).  But coming up with a useful,
    powerful, and consistent mechanism for exposing compile-time
    constant folding and propagation requires a lot more than "let's use
    keyword X."  I think if you try to flesh this out to the next few
    levels, you'll find that there are many possible paths here, and
    choosing between them is not trivial.  <br>
    <br>
    Suffice it to say that we agree that there are opportunities to
    expose better constancy, but picking a keyword to slap on fields and
    methods is not the hard part.  <br>
    <br>
    <br>
  </body>
</html>