Beta

Escape Prison!

Description
Loading description...
Puzzles
  • Please sign in or sign up to leave a comment.
  • Voile Avatar

    SecurityManager has been disabled by default since Java 18, and next LTS version (Java 21) will be released in a few days (19th December). This will deprecate the premise of the kata.

  • ZED.CWT Avatar

    Annoying warnings need to be suppressed.

    /workspace/java/src/Bomb.java:3: warning: Reflection is internal proprietary API and may be removed in a future release
    import sun.reflect.Reflection;
                      ^
    /workspace/java/src/Bomb.java:3: warning: Reflection is internal proprietary API and may be removed in a future release
    import sun.reflect.Reflection;
                      ^
    /workspace/java/src/Bomb.java:3: warning: Reflection is internal proprietary API and may be removed in a future release
    import sun.reflect.Reflection;
                      ^
    /workspace/java/src/Bomb.java:3: warning: Reflection is internal proprietary API and may be removed in a future release
    import sun.reflect.Reflection;
                      ^
    /workspace/java/src/Bomb.java:7: warning: Reflection is internal proprietary API and may be removed in a future release
        Reflection.registerMethodsToFilter(Bomb.class, "<init>");
        ^
    Note: /workspace/java/src/Prisoner.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    5 warnings
    
  • ZED.CWT Avatar
    PrisonChecker.test();
    

    Really? This is what you think is enough for us? It's totally not a FAIR game. A fair game is, like Hack 22, exposing the exact implementation in the Preload section to the desc Or how the hell would we know what the heck is PrisonChecker, PrisonGuard and Bomb

  • Voile Avatar

    Sample tests are missing. Can we have at least some somewhat useful tests? ;-)