[foreign-memaccess+abi] RFR: 8293495: Revisit name of SymbolLookup::lookup
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Sep 7 16:50:23 UTC 2022
This simple patch changes the name of SymbolLookup::lookup to SymbolLookup::find.
This change was suggested during many rounds of API reviews, as the term "lookup" can refer to both a noun and a verb and, sadly, the API is using both forms.
Since we already have a precedent in the JDK for using Lookup in the noun form (e.g. method handle lookup), I have decided to rename the method to something more neutral like "find", which, coincidentally is also the term we settled on in the javadoc in order to avoid confusion.
-------------
Commit messages:
- Initial push
Changes: https://git.openjdk.org/panama-foreign/pull/716/files
Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=716&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8293495
Stats: 70 lines in 19 files changed: 0 ins; 0 del; 70 mod
Patch: https://git.openjdk.org/panama-foreign/pull/716.diff
Fetch: git fetch https://git.openjdk.org/panama-foreign pull/716/head:pull/716
PR: https://git.openjdk.org/panama-foreign/pull/716
More information about the panama-dev
mailing list