Support for System.getenv().

This will always return that the environment variables does not exist, it is purely intended for compatibility with applications that check for optional environment variables (in those cases the TeaVM transpiler currently fails because the method does not exist).
This commit is contained in:
Colorize 2019-11-17 18:12:42 +01:00 committed by Alexey Andreev
parent b090c2f47d
commit 560627bfca

View File

@ -284,4 +284,8 @@ public final class TSystem extends TObject {
public static String lineSeparator() {
return "\n";
}
public static String getenv(String name) {
return null;
}
}