r/java • u/PartOfTheBotnet • Mar 21 '23
JDK 21: Disallowing the dynamic loading of agents by default
https://mail.openjdk.org/pipermail/serviceability-dev/2023-March/046868.html
63
Upvotes
r/java • u/PartOfTheBotnet • Mar 21 '23
View all comments
Show parent comment
6
u/SocialMemeWarrior Mar 21 '23
That issue says the same thing. "Security" and "integrity".
If agent access was restricted for just platform classes that would be understandable under their given terms (Really only integrity is touched on here. The security angle is still totally unexplained in this ticket). But this is flatly cutting off dynamic agents by default.
Nobody has given any credence to the point on this change adding security. Tool authors have said it then and now, loading their tools is loading "arbitrary" code dynamically. That's kinda the whole point.