From iris.clark at oracle.com Wed Dec 14 23:12:27 2022 From: iris.clark at oracle.com (Iris Clark) Date: Wed, 14 Dec 2022 23:12:27 +0000 Subject: JSR 395 (Java SE 20): JEP Proposed to Target: 434: Foreign Function & Memory API (Second Preview) Message-ID: [ An audit in preparation for Public Review discovered that the following JEP incorrectly declared Scope = "JDK" instead of "SE". The Scope has been updated and the deadline for feedback has been extended. Please read the following announcement carefully as it differs slightly from the typical Proposed to Target message. ] The following JEP with updated scope "SE" was proposed to target JDK 20: 434: Foreign Function & Memory API (Second Preview) https://openjdk.org/jeps/434 Summary: Introduce an API by which Java programs can interoperate with code and data outside of the Java runtime. By efficiently invoking foreign functions (i.e., code outside the JVM), and by safely accessing foreign memory (i.e., memory not managed by the JVM), the API enables Java programs to call native libraries and process native data without the brittleness and danger of JNI. This is a preview API. The original announced deadline for feedback to jdk-dev was Mon 28 Nov 23:59 UTC: https://mail.openjdk.org/pipermail/jdk-dev/2022-November/007215.html The revised deadline for feedback to jdk-dev is Wed 21 Dec 23:59 UTC. If there are no unresolved objections at that time, then the JEP will remain in the Targeted state, indicating that the feature is expected to appear in the specified release of the JDK Project. For more information about states, see the JEP Process document: https://openjdk.org/jeps/1 A dashboard that lists JEPs with "SE" scope may be found via a link on this page: https://openjdk.org/projects/jdk/20/spec/ Our apologies for the late notice. Iris From iris.clark at oracle.com Mon Dec 19 23:05:21 2022 From: iris.clark at oracle.com (Iris Clark) Date: Mon, 19 Dec 2022 23:05:21 +0000 Subject: JSR 395 (Java SE 20) Specification -- DRAFT 28 Message-ID: Hi. A draft of the Specification is available here: https://cr.openjdk.java.net/~iris/se/20/spec/draft/java-se-20-draft-spec-28/ This draft includes the following: - Spec, section 4 "Component JSR Specifications": MRs for 199 and 269 ` - Spec, section 5 "Features", subsection "Restricted methods": Updates for JEP 434 - Spec, section 9 "APIS proposed for removal": o Add APIs corresponding to CSRs 8292843 and 8297795 - Annexes 1 and 2: Updates based on build 28 - Annex 3: o Add references to JEPs 432 and 433 - Annex 4 - 11: o Diffs for narrative specs (e.g. JAR File, Serialization, RMI) based on build 28 The next JCP milestone is PR, scheduled for January 2023. As usual with milestones, we'll take a snapshot of the current Specification (without changebars) and submit it for publication. I anticipate PR submission to the PMO mid-January, for publication later that month. Links to the JEP/CSR Dashboards, latest Specification, latest JavaDoc API and diffs, and latest RI binaries may be found on this page: https://openjdk.org/projects/jdk/20/spec/ Thanks, iris