< prev index next >

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

Print this page
*** 24,21 ***
   */
  
  package java.lang.foreign;
  
  import jdk.internal.foreign.layout.StructLayoutImpl;
- import jdk.internal.javac.PreviewFeature;
  
  /**
   * A group layout whose member layouts are laid out one after the other.
   *
   * @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 StructLayout extends GroupLayout permits StructLayoutImpl {
  
      /**
       * {@inheritDoc}
       */
--- 24,19 ---
   */
  
  package java.lang.foreign;
  
  import jdk.internal.foreign.layout.StructLayoutImpl;
  
  /**
   * A group layout whose member layouts are laid out one after the other.
   *
   * @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 StructLayout extends GroupLayout permits StructLayoutImpl {
  
      /**
       * {@inheritDoc}
       */
< prev index next >