News for hackers. Stuff that matters.
Re:Java 17 / JDK 17: General Availability by cesarb on Tuesday September 14, 2021 @12:35PM (#28527254)
I understand wanting to remove the overcomplicated Security Manager, but we have one use case which, as far as I can see, has not been mentioned at https://openjdk.java.net/jeps/411 : we install a custom security manager to prevent the software, when run on a developer machine, from accidentally connecting to non-localhost network addresses (we actually use a whitelist). I wonder how we'll do that after Java 17.
Re:Java 17 / JDK 17: General Availability by the8472 on Tuesday September 14, 2021 @01:39PM (#28528086)
Run it in a container with a separate network namespace? Doesn't even need a container, just unshare -Un on linux.
Re:Java 17 / JDK 17: General Availability by GreenToad on Wednesday September 15, 2021 @05:03AM (#28536854)
It looks like jep 418, when delivered, might be used for that.