JEP draft: Disallow the Dynamic Loading of Agents by Default
    Alex Buckley 
    alex.buckley at oracle.com
       
    Mon May  1 16:44:34 UTC 2023
    
    
  
On 5/1/2023 8:56 AM, Alan Bateman wrote:
> Just to add that "Restricted methods" have been in the Java SE spec 
> since Java 19. So far it has just been the restricted methods in the FFM 
> API but it's hard to see how this would be extended to list 
> Runtime.load/loadLibrary at some point.
Clarification: ... but it's NOT hard to see ...
FYI the section about restricted methods in the Java SE Platform Spec:
- 
https://cr.openjdk.org/~iris/se/19/spec/latest/index.html#Restricted-methods
- 
https://cr.openjdk.org/~iris/se/20/spec/latest/index.html#Restricted-methods
Alex
    
    
More information about the serviceability-dev
mailing list