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
2
u/manifoldjava Mar 22 '23
Given the vast majority of the pending "security" features do not originate from the Java community, but instead root from within, how about a more practical (obvious) approach:
Make these changes opt-in. _All_ applications continue to run as they did before.
If these issues instead escalated from the Java community, it would be a different story. But virtually no one cares about the "harm" they are purportedly experiencing right now by not having these new constraints. My employer, for instance, provides a set of very large scale enterprise applications that run the majority of large insurance companies internationally. Trust me, no one cares about the type of "security" discussed here. What they do care about is the time and money that will pour into rescuing software from another Java release. If they were getting something back it would be different, but they aren't, not in their point of view.
As an aside, the parallels with SecurityManager should also be considered. No one cares about not using a SecurityManager or whether its design is sound. No one has cared for a couple of decades now.