Skip to content

Commit

Permalink
8310591: Missing @since tags in java.lang.foreign
Browse files Browse the repository at this point in the history
Reviewed-by: mcimadamore
  • Loading branch information
minborg committed Jun 22, 2023
1 parent 8976ebf commit 5a30fb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Expand Up @@ -69,6 +69,8 @@
* <p>
* Clients should consider using an {@linkplain Arena arena} instead, which, provides strong thread-safety,
* lifetime and non-overlapping guarantees.
*
* @since 19
*/
@FunctionalInterface
@PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
Expand Down
Expand Up @@ -118,6 +118,8 @@
* SymbolLookup stdlib = nativeLinker.defaultLookup();
* MemorySegment malloc = stdlib.find("malloc").orElseThrow();
*}
*
* @since 19
*/
@PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
@FunctionalInterface
Expand Down
Expand Up @@ -147,6 +147,10 @@
* access to restricted methods is enabled for all modules, but access to restricted methods will result in runtime warnings.
*
* @spec jni/index.html Java Native Interface Specification
*
* @since 19
*/
@PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
package java.lang.foreign;

import jdk.internal.javac.PreviewFeature;

1 comment on commit 5a30fb6

@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.