<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Jan 9, 2026 at 8:53 AM Maurizio Cimadamore <<a href="mailto:maurizio.cimadamore@oracle.com">maurizio.cimadamore@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
  <div><p>The use of containsTypeEquivalent in that location is likely a
      leftover. Remember that javac was developed _while_ the
      specification for generics and wildcards was written. I recall
      that ~20 years ago, javac used to allow wildcards in a lot more
      places compared to the spec (and this caused several issues).
      That's probably why this method was needed back then.</p></div></blockquote><div>As I suspected. (The concept is kind of interesting! Left over from the incorporation of GJ I assume?) </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p>Filed this:</p>
    <p><a href="https://bugs.openjdk.org/browse/JDK-8374910" target="_blank">https://bugs.openjdk.org/browse/JDK-8374910</a></p>
    <p>For now I've assigned to Vicente, but if you want to take a stab
      at it, we'd be happy to accept your contribution!</p></div></blockquote><div>I might be willing to dip my toe into the water but I can't commit to any particular timeframe. Thanks for the invitation.</div><div><br></div><div>Best,</div><div>Laird</div></div></div>