src/share/vm/prims/jni.h
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -768,10 +768,12 @@
/* Module Features */
jobject (JNICALL *GetModule)
(JNIEnv* env, jclass clazz);
+ jsize (JNICALL *GetAllModules)
+ (JNIEnv* env, jobjectArray *modules);
};
/*
* We use inlined functions for C++ so that programmers can write:
*
@@ -1865,10 +1867,13 @@
/* Module Features */
jobject GetModule(jclass clazz) {
return functions->GetModule(this, clazz);
}
+ jsize GetAllModules(jobjectArray *modules) {
+ return functions->GetAllModules(this, modules);
+ }
#endif /* __cplusplus */
};
typedef struct JavaVMOption {