< prev index next >

src/java.base/share/classes/java/lang/foreign/PaddingLayout.java

Print this page
*** 24,22 ***
   */
  
  package java.lang.foreign;
  
  import jdk.internal.foreign.layout.PaddingLayoutImpl;
- import jdk.internal.javac.PreviewFeature;
  
  /**
   * A padding layout. A padding layout specifies the size of extra space which is typically not accessed by applications,
   * and is typically used for aligning member layouts around word boundaries.
   *
   * @implSpec
   * Implementing classes are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
   *
!  * @since 20
   */
- @PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
  public sealed interface PaddingLayout extends MemoryLayout permits PaddingLayoutImpl {
  
      /**
       * {@inheritDoc}
       */
--- 24,20 ---
   */
  
  package java.lang.foreign;
  
  import jdk.internal.foreign.layout.PaddingLayoutImpl;
  
  /**
   * A padding layout. A padding layout specifies the size of extra space which is typically not accessed by applications,
   * and is typically used for aligning member layouts around word boundaries.
   *
   * @implSpec
   * Implementing classes are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
   *
!  * @since 22
   */
  public sealed interface PaddingLayout extends MemoryLayout permits PaddingLayoutImpl {
  
      /**
       * {@inheritDoc}
       */
< prev index next >