-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b06
The FFM API introduces the concept of restricted methods. These methods are unsafe methods which, when used in correctly, can crash the JVM, or result in memory corruption.
Restricted methods are marked with an internal annotation (`@Restricted`). Calls to restricted methods are detected by the javac compiler, if the `-Xlint:restricted` flag is provided.
It would be nice if, in addition to the existing support, a tool similar to `jdeprscan` was also provided, so that developers could scan classfiles and jars and detect usages of restricted methods.
Restricted methods are marked with an internal annotation (`@Restricted`). Calls to restricted methods are detected by the javac compiler, if the `-Xlint:restricted` flag is provided.
It would be nice if, in addition to the existing support, a tool similar to `jdeprscan` was also provided, so that developers could scan classfiles and jars and detect usages of restricted methods.
- csr for
-
JDK-8334569 Add a tool like jdeprscan to find usage of restricted methods
- Closed
- relates to
-
JDK-8316971 Add Lint warning for restricted method calls
- Resolved
-
JDK-8312522 Implementation of Foreign Function & Memory API
- Resolved