[foreign-memaccess+abi] Integrated: 8292957: Remove redundant MemoryLayout::is* methods

Per Minborg duke at openjdk.org
Fri Aug 26 09:44:23 UTC 2022


On Fri, 26 Aug 2022 08:49:03 GMT, Per Minborg <duke at openjdk.org> wrote:

> This PR removes the public API methods `MemoryLayout::isPadding`, `GroupLayout::isStruct`, and `GroupLayout::isSequence`. Now that the `MemoryLayout` sealed hierarchy provides the same information, these redundant methods should be removed for reasons of consistency, symmetry, brevity, and simplicity.
> 
> See the details and proposed replacements in https://bugs.openjdk.org/browse/JDK-8292957

This pull request has now been integrated.

Changeset: a6db1568
Author:    Per Minborg <pminborg at gmail.com>
Committer: Athijegannathan Sundararajan <sundar at openjdk.org>
URL:       https://git.openjdk.org/panama-foreign/commit/a6db156805ad5d10818ba66d9c88320726f1bfdd
Stats:     43 lines in 8 files changed: 4 ins; 26 del; 13 mod

8292957: Remove redundant MemoryLayout::is* methods

Reviewed-by: sundar

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

PR: https://git.openjdk.org/panama-foreign/pull/714


More information about the panama-dev mailing list