<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <blockquote type="cite">Perhaps the module can be declared 'requires
      static'. </blockquote>
    <br>
    That was my thinking as well, which is captured in
    <a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8240844">https://bugs.openjdk.org/browse/JDK-8240844</a><br>
    <br>
    Perhaps this is the right time to move this forward?<br>
    <br>
    -- Kevin<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/17/2023 4:06 PM, Nir Lisker
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CA+0ynh8YbgqDipHoLj2pnC9Uq4inKjKSduB_wuifAvtRO0EcAw@mail.gmail.com">
      
      <div dir="ltr">
        <div>Hi,<br>
        </div>
        <div><br>
        </div>
        <div>A previous discussion mentioned the removal of AWT
          dependencies. One of the points that Kevin brought up was</div>
        <div><br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Refactor
          Java Beans implementation in javafx.base such that
          java.desktop is optional</blockquote>
        <div><br>
        </div>
        <div>John and I looked at this some time ago when we discussed
          the usage of the javafx base module outside of JavaFX, as its
          observables/binding capabilities are suitable for non-GUI
          applications, which currently have to pull in GUI modules as
          dependencies.</div>
        <div><br>
        </div>
        <div>The dependency is used in the property.adapter packages
          that bridge javafx.base properties with Java Beans. I think
          that these classes are seldom used.</div>
        <div><br>
        </div>
        <div>What could be a way to deal with that dependency?
          Perhaps the module can be declared 'requires static'. Or
          extract the adapter packages into a different "interop" module
          (javafx.javabeans) like javafx.swing?</div>
        <div><br>
        </div>
        <div>- Nir</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>