RFR: 8287834: Add SymbolLookup::or method

Paul Sandoz psandoz at openjdk.org
Mon May 22 15:59:10 UTC 2023


On Mon, 22 May 2023 11:51:33 GMT, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:

> So, not only the new method results in more succinct code (compared to the alternatives), but it also combines symbol lookups in the "right way", so that the chain of lookups is defined, once and for all, when the composite lookup is first created.
>

Yes, it's composition of *lookups* not composition of their results.
 
Paul.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13954#issuecomment-1557478950


More information about the core-libs-dev mailing list