-
Enhancement
-
Resolution: Fixed
-
P3
-
22
Restricted methods in the FFM API are methods that, if used incorrectly, can lead to JVM crashes, or, worse, silent memory corruption. It would be useful, for auditing purposes, to clearly mark all the restricted methods in the Java SE API as such, using an internal annotation (as we did for preview methods).
An annotation would allow us, among other things to:
* generate Lint warnings when code is compiled against restricted APIs
* automate the generation of javadoc text around restricted methods
* help classfile processor to detect all usages of restricted methods in an application jar
An annotation would allow us, among other things to:
* generate Lint warnings when code is compiled against restricted APIs
* automate the generation of javadoc text around restricted methods
* help classfile processor to detect all usages of restricted methods in an application jar
- blocks
-
JDK-8316972 Add javadoc support for restricted methods
-
- Resolved
-
-
JDK-8316971 Add Lint warning for restricted method calls
-
- Resolved
-
- is blocked by
-
JDK-8312522 Implementation of Foreign Function & Memory API
-
- Resolved
-