fork(1) download
  1. public class Main {
  2. public static void main(final String[] args) throws Exception {
  3. System.out.print("1");
  4. doAnything();
  5. System.out.println("2");
  6. }
  7.  
  8. private static void doAnything() {
  9. try {
  10. doAnything();
  11. } catch (final Error e) {
  12. System.out.print("y");
  13. }
  14. }
  15. }
Success #stdin #stdout 0.07s 380224KB
stdin
Standard input is empty
stdout
1yyyyyyyyyyyyyyy2