2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-27 20:37:57 +00:00
Andrew Vagin f6d9d8d41a tests: move app-emu in test/others/
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-29 11:35:26 +03:00

21 lines
391 B
Java

/*
* Trivial program which requires no
* additional imports
*/
public class HelloWorld {
public static void main(String[] args) {
int nr_sleeps = 5;
for (;;) {
System.out.println("Hello World");
if (nr_sleeps == 0)
System.exit(0);
try {
Thread.sleep(1000);
nr_sleeps--;
} catch(InterruptedException ex) {
Thread.currentThread().interrupt();
}
}
}
}