r/java • • 4d ago

Java4Shell is a reason to use Java

https://mccue.dev/pages/11-18-26-java4shell
92 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/not-just-yeti 3d ago

I wanted to say that people making their own code benefit from not needing to audit for things like buffer overflows in the same way as native code does. The worst case scenario isn't as bad (provided the JVM does its job)

So I think I'm being a bit slow here (coffee hasn't kicked in yet), but are you saying that your point is: "Java is not to blame, keep using it. The problem lies with the JDK JVM authors, who didn't do their job."? (Alternatively, "JDK should publish their exact exposure to native code, so we can all add that to our audit trail"? Or is your main point "JDK's exposure is less than many other ecosystems"?)

5

u/bowbahdoe 3d ago

The 2nd, but more "The JDK gives you more ability to track and manage your exposure."