mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
This commit is contained in:
parent
5296c23c9b
commit
2cede6dbc1
7 changed files with 572 additions and 7 deletions
|
@ -121,6 +121,7 @@ public:
|
|||
// IllegalArgumentException is thrown if loader is neither null nor a subtype of
|
||||
// java/lang/ClassLoader.
|
||||
static jobject get_module_by_package_name(jobject loader, jstring package, TRAPS);
|
||||
static jobject get_named_module(Handle h_loader, const char* package, TRAPS);
|
||||
|
||||
// If package is defined by loader, return the
|
||||
// java.lang.reflect.Module object for the module in which the package is defined.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue