You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever a student calls System.exit(), the judge exits immediately, causing the partial json output to be invalid, resulting in an Internal Error on Dodona. These calls can be intercepted by using a custom SecurityManager, similar to the way the ExpectedSystemExit rule works.
Whenever a student calls
System.exit()
, the judge exits immediately, causing the partial json output to be invalid, resulting in an Internal Error on Dodona. These calls can be intercepted by using a customSecurityManager
, similar to the way theExpectedSystemExit
rule works.Proof of concept of this issue:
Exercise.java
ExerciseTest.java
Output:
The text was updated successfully, but these errors were encountered: