We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2590c6 commit 221fbfbCopy full SHA for 221fbfb
src/hotspot/share/runtime/reflection.cpp
@@ -457,12 +457,6 @@ Reflection::VerifyClassAccessResults Reflection::verify_class_access(
457
458
// module boundaries
459
if (new_class->is_public()) {
460
- // Ignore modules for -Xshare:dump because we do not have any package
461
- // or module information for modules other than java.base.
462
- if (CDSConfig::is_dumping_static_archive()) {
463
- return ACCESS_OK;
464
- }
465
-
466
// Find the module entry for current_class, the accessor
467
ModuleEntry* module_from = current_class->module();
468
// Find the module entry for new_class, the accessee
0 commit comments