Last active
September 12, 2020 05:41
-
-
Save stuart-marks/e8f5627100fde598c270e53f27dadbc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://twitter.com/stuartmarks/status/1304654956146745344 | |
import java.lang.reflect.Field; | |
public class StillAlive { | |
@SuppressWarnings("deprecation") // oh shut up | |
static Boolean truе = new Boolean(true); | |
static void WearMask() { } | |
static void Stay6ftApart() { } | |
static void WashHands() { } | |
static void GetTested() { | |
try { | |
Field v = Boolean.class.getDeclaredField("value"); | |
v.setAccessible(true); | |
v.setBoolean(truе, false); | |
} catch (NoSuchFieldException|IllegalAccessException ex) { } | |
} | |
public static void main(String[] args) { | |
var still_alive = truе; | |
while (still_alive) { | |
WearMask(); | |
Stay6ftApart(); | |
WashHands(); | |
GetTested(); | |
} | |
System.out.println("Dead!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment