Commit graph

24 commits

Author SHA1 Message Date
Maurizio Cimadamore
9e1af8cc7c 8339285: Test fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
Reviewed-by: alanb
2024-09-05 18:11:18 +00:00
Maurizio Cimadamore
20d8f58c92 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI
Reviewed-by: jpai, prr, ihse, kcr, alanb
2024-08-26 09:17:45 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +00:00
Per Minborg
e923dfe4c5 8314592: Add shortcut to SymbolLookup::find
Reviewed-by: jvernee, prr
2024-04-24 11:56:44 +00:00
Joe Darcy
adc3604027 8325148: Enable restricted javac warning in java.base
Reviewed-by: erikj, jvernee, mcimadamore, pminborg, ihse
2024-02-02 17:47:28 +00:00
Per Minborg
a0920aa436 8321159: SymbolLookup.libraryLookup(Path, Arena) Assumes default Filesystem
Reviewed-by: mcimadamore
2023-12-06 08:02:52 +00:00
Per Minborg
f939542104 8319324: FFM: Reformat javadocs
Reviewed-by: mcimadamore
2023-11-09 15:18:43 +00:00
Per Minborg
134c382d39 8319560: Reformat method parameters in the FFM API
Reviewed-by: mcimadamore
2023-11-07 15:05:03 +00:00
Per Minborg
ef8c8408a6 8319607: FFM: Review the language in the FFM documentation
Reviewed-by: mcimadamore
2023-11-07 14:34:33 +00:00
Per Minborg
42f43c520c 8319563: Reformat code in the FFM API
Reviewed-by: mcimadamore
2023-11-07 11:39:41 +00:00
Per Minborg
be01caf30d 8319323: FFM: Harmonize the @throws tags in the javadocs
Reviewed-by: jvernee
2023-11-03 12:26:47 +00:00
Maurizio Cimadamore
91442878b7 8318601: Remove javadoc text about restricted methods
Reviewed-by: alanb
2023-10-20 14:29:17 +00:00
Maurizio Cimadamore
b07da3ae15 8317819: Scope should reflect lifetime of underying resource (mainline)
Reviewed-by: jvernee
2023-10-20 10:23:45 +00:00
Jorn Vernee
32ac72c3d3 8312522: Implementation of Foreign Function & Memory API
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
Maurizio Cimadamore
798125152b 8316970: Add internal annotation to mark restricted methods
Reviewed-by: jvernee, iris, alanb
2023-09-28 09:49:57 +00:00
Per Minborg
5a30fb6664 8310591: Missing @since tags in java.lang.foreign
Reviewed-by: mcimadamore
2023-06-22 11:59:33 +00:00
Maurizio Cimadamore
a6ad42e00e 8308645: Javadoc of FFM API needs to be refreshed
8309398: ValueLayout:: arrayElementVarHandle doesn't throws UnsupportedOperationException - if byteAlignment() > byteSize()
8308812: SequenceLayout::withElementCount(long elementCount) doesn't throw IllegalArgumentException - if elementCount < 0 for some cases

Reviewed-by: jvernee
2023-06-12 15:55:49 +00:00
Maurizio Cimadamore
534de6d8ae 8300491: SymbolLookup::libraryLookup accepts strings with terminators
Reviewed-by: psandoz
2023-05-25 15:22:27 +00:00
Maurizio Cimadamore
91aeb5de58 8287834: Add SymbolLookup::or method
Reviewed-by: psandoz
2023-05-22 14:51:09 +00:00
Per Minborg
cbccc4c817 8304265: Implementation of Foreign Function and Memory API (Third Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Maurizio Cimadamore
f771c56e16 8298797: Specification of some restricted methods is incorrect
Reviewed-by: jvernee, pminborg
2022-12-16 10:49:22 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Jorn Vernee
732f1065fe 8289223: Canonicalize header ids in foreign API javadocs
Reviewed-by: mcimadamore
2022-07-08 11:18:32 +00:00
Maurizio Cimadamore
2c5d136260 8282191: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00