Security Manager gone
-
The SecurityManager is being removed from Java? JEP 411: Deprecate the Security Manager for Removal[^] For a certain class of problems I found that to be a solution. Without it there is no solution. Certainly in C# such a solution does not exist. The class of problems is one where the business model allows, as a selling point, customers to create their own code for limited solutions. For example (and from a real company) if one allows for Content Management creation then allowing for programmatic creation provides many possibilities. But running that in a shared application space means that the company will want to limit access. Not only things like operating system calls but even to make sure that the customer code doesn't spin up 100 threads. The SecurityManager allows one to prevent that. Alternatives are not as elegant as it requires spinning up a new process and limiting, some functionality, by the access that the user has. It is this one feature that I found made Java better than C#.