Skip to content

Instantly share code, notes, and snippets.

@oscarryz
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save oscarryz/65013ac4e9573c2d4132 to your computer and use it in GitHub Desktop.

Select an option

Save oscarryz/65013ac4e9573c2d4132 to your computer and use it in GitHub Desktop.
class Some class Some {
public static void main( String ... args ) throws InterruptedException {
Thread.sleep(1000);
new Thread( () -> {
try {
Some.main();
} catch ( InterruptedException e ) {
throw new RuntimeException();
}
}).start();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment