<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hi,<br>
      jextract being GPLv2 just follows what the rest of OpenJDK is
      doing.</p>
    <p>I'd like to understand better what your use case is before
      commenting further: are you worried jextract will generate GPLv2
      code? Because that is NOT the case. While the template files are
      marked as GPLv2 (as they are checked into the repository), what
      comes out of jextract does not have any license header (or at
      least, that's the spirit, if you are experiencing otherwise, I'd
      say that's a bug).<br>
    </p>
    <p>Does that address your concern?</p>
    <p>Regards<br>
      Maurizio<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 20/03/2023 02:11, Shane Pearlman
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:mkWhldswZ4ATgjwq0UXX_H5pLh-slp98fSV0375sUGH6rdtRfmqNvliPlCbiUjygNdXIKFXN0zoRQs4LTKmt15mRaWzTPQfPoTKH4tY8mPc=@pm.me">
      
      What’s the reasoning for licensing a tool like this under the
      GPLv2?
      <div dir="auto"><br>
      </div>
      <div dir="auto">Code generators often need to be modified or
        adapted for large bindings projects, and the classes in
        org.openjdk.jextract.impl and  org.openjdk.jextract.clang could
        be quite useful as a starting point.  Under the current license,
        however, I will probably have to roll my own.</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto"><span dir="auto" style="color: var(--text-color);
          background: var(--bg-color);">Even the code generation
          template classes are under GPLv2, which is enough to prevent
          me from using jextract generated bindings in </span><span style="color: var(--text-color); background: var(--bg-color);">my
          non-GPL</span><span dir="auto" style="color:
          var(--text-color); background: var(--bg-color);"> projects.  </span><span style="color: var(--text-color); background: var(--bg-color);">Maybe
          someone’s</span><span dir="auto" style="color:
          var(--text-color); background: var(--bg-color);"> reading of
          the license is that it is permissible, but is the uncertainty
          really necessary?</span></div>
      <div dir="auto"><span dir="auto" style="color: var(--text-color);
          background: var(--bg-color);"><br>
        </span></div>
      <div dir="auto"><span dir="auto" style="color: var(--text-color);
          background: var(--bg-color);">That said, I am excited for the
          Panama project to deliver what looks to be a very well
          designed solution to a major, decade-long problem with Java.<caret></caret></span></div>
      <div dir="auto"><span dir="auto" style="color: var(--text-color);
          background: var(--bg-color);"><br>
        </span></div>
      —Shane</blockquote>
  </body>
</html>