File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
src/java.base/share/classes/java/lang/foreign Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2626package java .lang .foreign ;
2727
2828import jdk .internal .foreign .layout .PaddingLayoutImpl ;
29+ import jdk .internal .javac .PreviewFeature ;
2930
3031/**
3132 * A padding layout. A padding layout specifies the size of extra space which is typically not accessed by applications,
3233 * and is typically used for aligning member layouts around word boundaries.
3334 *
3435 * @implSpec
3536 * Implementing classes are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
37+ *
38+ * @since 20
3639 */
40+ @ PreviewFeature (feature =PreviewFeature .Feature .FOREIGN )
3741public sealed interface PaddingLayout extends MemoryLayout permits PaddingLayoutImpl {
3842
3943 /**
Original file line number Diff line number Diff line change 3434 * @implSpec
3535 * Implementing classes are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
3636 *
37- * @since 19
37+ * @since 20
3838 */
3939@ PreviewFeature (feature =PreviewFeature .Feature .FOREIGN )
4040public sealed interface StructLayout extends GroupLayout permits StructLayoutImpl {
Original file line number Diff line number Diff line change 3434 * @implSpec
3535 * Implementing classes are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
3636 *
37- * @since 19
37+ * @since 20
3838 */
3939@ PreviewFeature (feature =PreviewFeature .Feature .FOREIGN )
4040public sealed interface UnionLayout extends GroupLayout permits UnionLayoutImpl {
You can’t perform that action at this time.
0 commit comments