On Thu, 15 Dec 2022 10:43:35 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
> This patch fixes some inconsistencies in the javadoc for restricted methods: > > * ModuleLayer.Controller::addEnableNativeAccess has a shorted text in its > `@throws` clause. This shorted text is now used everywhere. > * One overload of `MemorySegment::ofAddress` is missing the restricted method > narrative text This pull request has now been integrated. Changeset: f771c56e Author: Maurizio Cimadamore <mcimadam...@openjdk.org> URL: https://git.openjdk.org/jdk20/commit/f771c56e16a39724712ca0d8c2dd55b9ce260f4d Stats: 33 lines in 6 files changed: 10 ins; 14 del; 9 mod 8298797: Specification of some restricted methods is incorrect Reviewed-by: jvernee, pminborg ------------- PR: https://git.openjdk.org/jdk20/pull/40