dodona-edu / judge-java

JUnit-based Java judge for the Dodona learning environment
MIT License
1 stars 1 forks source link

Update to Java 17 #56

Closed rien closed 2 years ago

rien commented 2 years ago

Java 17, the newest LTS release, has been released and we plan on using it in courses on Dodona. See the following page for features and changes: https://openjdk.java.net/projects/jdk/17/

This unfortunately introduces a deprecation warning of SecurityManager which cannot be silenced (see #55). Currently, this will cause warnings to be generated with exercises testing System.exit().

There do not seem to be any changes that would break the current exercises.

This will also rename the judge name to 'java' instead of 'java12' because there is no need to include the version number, as this would need to be updated every time a next LTS is released.

rien commented 2 years ago

Merged manually (commits 32ec826c1895c7b5df20dcb2a1869381ede74ed0, 20b7f5adce70983496a6959f8d663c25fa08756c and 6bef355a9be2e73fb0a4207528c696b48fd2403f)