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

2022-12-15 Thread Per Minborg
On Thu, 15 Dec 2022 10:43:35 GMT, Maurizio Cimadamore 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 overlo

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

2022-12-15 Thread Jorn Vernee
On Thu, 15 Dec 2022 10:43:35 GMT, Maurizio Cimadamore 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 overlo

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

2022-12-15 Thread Maurizio Cimadamore
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 narrati