diff options
author | Mark Wielaard <mark@klomp.org> | 2004-08-28 19:37:39 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2004-08-28 19:37:39 +0000 |
commit | 2b2e89a6f1d420eac5dd855aaed7c3177782d1e3 (patch) | |
tree | b85906b53ef50b873735df2a3c58a18cdf41a41a /include/java_lang_VMSystem.h | |
parent | 742b2f0f02bc4194f79d60bf78058dd1c0e83402 (diff) | |
download | classpath-2b2e89a6f1d420eac5dd855aaed7c3177782d1e3.tar.gz |
* java/lang/System.java (getenv): Do security checks and call
VMSystem.getenv().
* vm/reference/java/lang/VMSystem.java (getenv): New static native
method.
* native/jni/java-lang/java_lang_VMSystem.c (getenv): New function.
* include/java_lang_VMSystem.h: Regenerated.
* NEWS: Mention new VMSystem.getenv() method and reference
implementation in Runtime Interface section.
Diffstat (limited to 'include/java_lang_VMSystem.h')
-rw-r--r-- | include/java_lang_VMSystem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/java_lang_VMSystem.h b/include/java_lang_VMSystem.h index d055abc9e..f28f33b3e 100644 --- a/include/java_lang_VMSystem.h +++ b/include/java_lang_VMSystem.h @@ -17,6 +17,7 @@ JNIEXPORT void JNICALL Java_java_lang_VMSystem_setIn (JNIEnv *env, jclass, jobje JNIEXPORT void JNICALL Java_java_lang_VMSystem_setOut (JNIEnv *env, jclass, jobject); JNIEXPORT void JNICALL Java_java_lang_VMSystem_setErr (JNIEnv *env, jclass, jobject); JNIEXPORT jlong JNICALL Java_java_lang_VMSystem_currentTimeMillis (JNIEnv *env, jclass); +JNIEXPORT jstring JNICALL Java_java_lang_VMSystem_getenv (JNIEnv *env, jclass, jstring); #ifdef __cplusplus } |