Skip to content

Commit

Permalink
8319556: Harmonize interface formatting in the FFM API
Browse files Browse the repository at this point in the history
Reviewed-by: mcimadamore
  • Loading branch information
minborg committed Nov 8, 2023
1 parent cc4b0d9 commit 73c5f60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@
* @sealedGraph
* @since 22
*/
public sealed interface MemoryLayout permits SequenceLayout, GroupLayout, PaddingLayout, ValueLayout {
public sealed interface MemoryLayout
permits SequenceLayout, GroupLayout, PaddingLayout, ValueLayout {

/**
* {@return the layout size, in bytes}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@
* @sealedGraph
* @since 22
*/
public sealed interface ValueLayout extends MemoryLayout permits
ValueLayout.OfBoolean, ValueLayout.OfByte, ValueLayout.OfChar, ValueLayout.OfShort, ValueLayout.OfInt,
ValueLayout.OfFloat, ValueLayout.OfLong, ValueLayout.OfDouble, AddressLayout {
public sealed interface ValueLayout extends MemoryLayout
permits ValueLayout.OfBoolean, ValueLayout.OfByte, ValueLayout.OfChar,
ValueLayout.OfShort, ValueLayout.OfInt, ValueLayout.OfFloat,
ValueLayout.OfLong, ValueLayout.OfDouble, AddressLayout {

/**
* {@return the value's byte order}
Expand Down

1 comment on commit 73c5f60

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.