mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8168797: do not load any archived classes from a patched module
Add new runtime shared class visibility check to ensure shared classes from patched module are not loaded at runtime. Reviewed-by: acorn, ccheung, hseigel, iklam, lfoltan
This commit is contained in:
parent
a601028e0f
commit
bae7bbd382
9 changed files with 31 additions and 210 deletions
|
@ -155,7 +155,6 @@ public:
|
|||
// loading failures during runtime.
|
||||
int _classpath_entry_table_size;
|
||||
size_t _classpath_entry_size;
|
||||
int _num_patch_mod_prefixes; // number of --patch-module entries
|
||||
SharedClassPathEntry* _classpath_entry_table;
|
||||
|
||||
char* region_addr(int idx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue