From ceeae5843e170aa0d8c2e963ee2d6125976d3ea5 Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 2 Oct 2024 16:40:46 -0600 Subject: [PATCH] DEV_FLAG Warning --- src/main/java/the/bytecode/club/bytecodeviewer/Constants.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/Constants.java b/src/main/java/the/bytecode/club/bytecodeviewer/Constants.java index 2ebf09e6..ff449d73 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/Constants.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/Constants.java @@ -87,6 +87,10 @@ public class Constants public static final String LIBS_DIRECTORY = getBCVDirectory() + FS + "libs" + FS; public static String krakatauWorkingDirectory = getBCVDirectory() + FS + "krakatau_" + krakatauVersion; public static String enjarifyWorkingDirectory = getBCVDirectory() + FS + "enjarify_" + enjarifyVersion; + + //DEV_FLAG_* are used for enabling tooling / systems reserved for development. + //As a precaution, all variables in here MUST ensure we are working in DEV_MODE only. + //Nothing here is meant for user level production, only development level production. public static final boolean DEV_FLAG_DECOMPILERS_SIMULATED_ERRORS = DEV_MODE && true; //enable true / false to disable public static final PrintStream ERR = System.err;