< prev index next > src/java.base/share/classes/java/lang/foreign/UnionLayout.java
Print this page
*/
package java.lang.foreign;
import jdk.internal.foreign.layout.UnionLayoutImpl;
- import jdk.internal.javac.PreviewFeature;
/**
* A group layout whose member layouts are laid out at the same starting offset.
*
* @implSpec
* Implementing classes are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
*
- * @since 20
+ * @since 22
*/
- @PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
public sealed interface UnionLayout extends GroupLayout permits UnionLayoutImpl {
/**
* {@inheritDoc}
*/
< prev index next >