<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On May 22, 2023, at 10:42 AM, Maurizio Cimadamore <maurizio.cimadamore@oracle.com> wrote:</div><br class="Apple-interchange-newline"><div>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  
  <div>
    <div class="markdown-here-wrapper" data-md-url="" style=""><p style="margin: 0px 0px 1.2em !important;">We have added this to
        21, in the form of an “or” instance method:</p><p style="margin: 0px 0px 1.2em !important;"><a href="https://git.openjdk.org/jdk/pull/13954" class="moz-txt-link-freetext">https://git.openjdk.org/jdk/pull/13954</a></p><p style="margin: 0px 0px 1.2em !important;">So:</p>
      <pre style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace;font-size: 1em; line-height: 1.2em;margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;white-space: pre; overflow: auto; border-radius: 3px; border: 1px solid rgb(204, 204, 204); padding: 0.5em 0.7em; display: block !important;">SymbolLookup MY_LOOKUP = libraryLookup("lib1", arena)
    .or(libraryLookup("lib2", arena))
    .or(libraryLookup("lib3", arena))
    .or(libraryLookup("lib4", arena))
    ...
    .or(libraryLookup("libN", arena));
</code></pre><p style="margin: 0px 0px 1.2em !important;">Cheers<br>
        Maurizio</p></div></div></div></blockquote>I saw that. Also nice. </div><div><br></div><div>I got my related code sort of working. Using Mesa for OpenGL I could run a demo to create an offscreen image with jdk20 Panama. This didn’t need -XstartOnFirstThread so could probably be used with Swing.</div><div><br></div><div>It took me quite a while. Mainly trying to figure out why the Apple DYLD env variables weren’t working. I sent Martin Pernollet a email if he still has any interest.</div><div><br></div><div>Mike</div><br></body></html>