< prev index next >

src/share/vm/prims/jvm.h

Print this page
rev 12479 : 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung


 397 JNIEXPORT jclass JNICALL
 398 JVM_FindLoadedClass(JNIEnv *env, jobject loader, jstring name);
 399 
 400 /* Define a class */
 401 JNIEXPORT jclass JNICALL
 402 JVM_DefineClass(JNIEnv *env, const char *name, jobject loader, const jbyte *buf,
 403                 jsize len, jobject pd);
 404 
 405 /* Define a class with a source (added in JDK1.5) */
 406 JNIEXPORT jclass JNICALL
 407 JVM_DefineClassWithSource(JNIEnv *env, const char *name, jobject loader,
 408                           const jbyte *buf, jsize len, jobject pd,
 409                           const char *source);
 410 
 411 /*
 412  * Module support funcions
 413  */
 414 
 415 JNIEXPORT void JNICALL
 416 JVM_DefineModule(JNIEnv *env, jobject module, jboolean is_open, jstring version,
 417                  jstring location, jobjectArray packages);
 418 
 419 JNIEXPORT void JNICALL
 420 JVM_SetBootLoaderUnnamedModule(JNIEnv *env, jobject module);
 421 
 422 JNIEXPORT void JNICALL
 423 JVM_AddModuleExports(JNIEnv *env, jobject from_module, jstring package, jobject to_module);
 424 
 425 JNIEXPORT void JNICALL
 426 JVM_AddModuleExportsToAllUnnamed(JNIEnv *env, jobject from_module, jstring package);
 427 
 428 JNIEXPORT void JNICALL
 429 JVM_AddModuleExportsToAll(JNIEnv *env, jobject from_module, jstring package);
 430 
 431 JNIEXPORT void JNICALL
 432 JVM_AddReadsModule(JNIEnv *env, jobject from_module, jobject source_module);
 433 
 434 JNIEXPORT void JNICALL
 435 JVM_AddModulePackage(JNIEnv* env,  jobject module, jstring package);
 436 
 437 JNIEXPORT jobject JNICALL
 438 JVM_GetModuleByPackageName(JNIEnv* env, jobject loader, jstring package);
 439 
 440 /*
 441  * Reflection support functions
 442  */
 443 
 444 JNIEXPORT jstring JNICALL
 445 JVM_GetClassName(JNIEnv *env, jclass cls);
 446 
 447 JNIEXPORT jobjectArray JNICALL
 448 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
 449 
 450 JNIEXPORT jboolean JNICALL
 451 JVM_IsInterface(JNIEnv *env, jclass cls);
 452 
 453 JNIEXPORT jobjectArray JNICALL
 454 JVM_GetClassSigners(JNIEnv *env, jclass cls);
 455 
 456 JNIEXPORT void JNICALL
 457 JVM_SetClassSigners(JNIEnv *env, jclass cls, jobjectArray signers);
 458 




 397 JNIEXPORT jclass JNICALL
 398 JVM_FindLoadedClass(JNIEnv *env, jobject loader, jstring name);
 399 
 400 /* Define a class */
 401 JNIEXPORT jclass JNICALL
 402 JVM_DefineClass(JNIEnv *env, const char *name, jobject loader, const jbyte *buf,
 403                 jsize len, jobject pd);
 404 
 405 /* Define a class with a source (added in JDK1.5) */
 406 JNIEXPORT jclass JNICALL
 407 JVM_DefineClassWithSource(JNIEnv *env, const char *name, jobject loader,
 408                           const jbyte *buf, jsize len, jobject pd,
 409                           const char *source);
 410 
 411 /*
 412  * Module support funcions
 413  */
 414 
 415 JNIEXPORT void JNICALL
 416 JVM_DefineModule(JNIEnv *env, jobject module, jboolean is_open, jstring version,
 417                  jstring location, const char* const* packages, jsize num_packages);
 418 
 419 JNIEXPORT void JNICALL
 420 JVM_SetBootLoaderUnnamedModule(JNIEnv *env, jobject module);
 421 
 422 JNIEXPORT void JNICALL
 423 JVM_AddModuleExports(JNIEnv *env, jobject from_module, const char* package, jobject to_module);
 424 
 425 JNIEXPORT void JNICALL
 426 JVM_AddModuleExportsToAllUnnamed(JNIEnv *env, jobject from_module, const char* package);
 427 
 428 JNIEXPORT void JNICALL
 429 JVM_AddModuleExportsToAll(JNIEnv *env, jobject from_module, const char* package);
 430 
 431 JNIEXPORT void JNICALL
 432 JVM_AddReadsModule(JNIEnv *env, jobject from_module, jobject source_module);
 433 
 434 JNIEXPORT void JNICALL
 435 JVM_AddModulePackage(JNIEnv* env,  jobject module, const char* package);
 436 
 437 JNIEXPORT jobject JNICALL
 438 JVM_GetModuleByPackageName(JNIEnv* env, jobject loader, const char* package);
 439 
 440 /*
 441  * Reflection support functions
 442  */
 443 
 444 JNIEXPORT jstring JNICALL
 445 JVM_GetClassName(JNIEnv *env, jclass cls);
 446 
 447 JNIEXPORT jobjectArray JNICALL
 448 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
 449 
 450 JNIEXPORT jboolean JNICALL
 451 JVM_IsInterface(JNIEnv *env, jclass cls);
 452 
 453 JNIEXPORT jobjectArray JNICALL
 454 JVM_GetClassSigners(JNIEnv *env, jclass cls);
 455 
 456 JNIEXPORT void JNICALL
 457 JVM_SetClassSigners(JNIEnv *env, jclass cls, jobjectArray signers);
 458 


< prev index next >