<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link id="MDHR_textcomplete" rel="stylesheet" href="moz-extension://aa8b6de7-3f78-465d-87c7-03091dbf00e6/vendor/textcomplete.css">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 17/06/2025 16:01, Mickael Istria
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAFr6BZTOnjGUGuJ-z3ja5iLx2JZhg6xWWoDVdm+CnNM5ETZqZw@mail.gmail.com">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Tue, Jun 17, 2025 at
4:51 PM Maurizio Cimadamore <<a href="mailto:maurizio.cimadamore@oracle.com" moz-do-not-send="true" class="moz-txt-link-freetext">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">
<div>
<p>Maybe I'm misunderstanding... what would be the
difference between StableValue::supplier and
Supplier::cache ?<br>
</p>
<div>
<div>
<p>Is it a discoverability issue you are pointing out
(e.g. this factory would be more discoverable if it
belonged to Supplier -- which is something we
flipped-flopped several times about) or is there
more, e.g. a semantics distinction?</p>
</div>
</div>
</div>
</blockquote>
<div>It's me who misunderstood: I misread
StableValue::supplier signature and had thought it would
return a StableValue. And that is wrong, it does indeed
return a Supplier, my bad!</div>
<div>So I suspect the issue I faced is more an issue of
discoverability or consistency with existing APIs then: if I
want a Supplier, the first thing I'd try is to use my IDE to
complete Supplier.| , I don't think I would easily think of
completng StableValue.| to get a Supplier.</div>
</div>
</div>
</blockquote>
<p>Thanks for confirming. And this (e.g. location of factory
methods) is indeed something that we might revisit in the second
round of preview of this API.</p>
<p>Cheers<br>
Maurizio<br>
</p>
<blockquote type="cite" cite="mid:CAFr6BZTOnjGUGuJ-z3ja5iLx2JZhg6xWWoDVdm+CnNM5ETZqZw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote gmail_quote_container">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
<div><br clear="all">
</div>
<br>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Mickael Istria<br>
</div>
<a href="https://urldefense.com/v3/__https://www.eclipse.org/eclipseide__;!!ACWV5N9M2RV99hQ!KwFyqDqtRLzFJU64SP8K6gAV3Ei3QVWcw7YA3_LCkKtMCgVWv_6hYnqnOJ-34wj1qtxrh8ODNXo8vKvbhtcCfEg$" target="_blank" moz-do-not-send="true">Eclipse IDE</a>
developer, for <a href="https://urldefense.com/v3/__https://developers.redhat.com/__;!!ACWV5N9M2RV99hQ!KwFyqDqtRLzFJU64SP8K6gAV3Ei3QVWcw7YA3_LCkKtMCgVWv_6hYnqnOJ-34wj1qtxrh8ODNXo8vKvb40BCHX0$" target="_blank" moz-do-not-send="true">Red Hat</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<ul class="dropdown-menu textcomplete-dropdown" style="display: none; position: absolute; z-index: 1000;" contenteditable="false" popover="auto">
</ul>
</body>
</html>