mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
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:
parent
b090c2f47d
commit
560627bfca
|
@ -284,4 +284,8 @@ public final class TSystem extends TObject {
|
||||||
public static String lineSeparator() {
|
public static String lineSeparator() {
|
||||||
return "\n";
|
return "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static String getenv(String name) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user