[jdk20] RFR: 8298797: Specification of some restricted methods is incorrect

Jorn Vernee jvernee at openjdk.org
Thu Dec 15 11:22:04 UTC 2022


On Thu, 15 Dec 2022 10:43:35 GMT, Maurizio Cimadamore <mcimadamore at 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

Marked as reviewed by jvernee (Reviewer).

-------------

PR: https://git.openjdk.org/jdk20/pull/40


More information about the core-libs-dev mailing list