mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8310591: Missing @since
tags in java.lang.foreign
Reviewed-by: mcimadamore
This commit is contained in:
parent
8976ebf0ec
commit
5a30fb6664
3 changed files with 8 additions and 0 deletions
|
@ -69,6 +69,8 @@ import jdk.internal.javac.PreviewFeature;
|
|||
* <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)
|
||||
|
|
|
@ -118,6 +118,8 @@ import java.util.function.BiFunction;
|
|||
* SymbolLookup stdlib = nativeLinker.defaultLookup();
|
||||
* MemorySegment malloc = stdlib.find("malloc").orElseThrow();
|
||||
*}
|
||||
*
|
||||
* @since 19
|
||||
*/
|
||||
@PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
|
||||
@FunctionalInterface
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue