Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
Consider this call stack:
[this] ClassLoader.loadClass(String)
[this] ClassLoader.loadClass(String, boolean)
[parent] ClassLoader.loadClass(String, boolean)
Now imagine a ClassRealm is used as the parent here. The problem is that ClassRealm only overrides loadClass(String) but not its protected overload loadClass(String, boolean). The later method is called by ordinary class loaders during parent delegation.
Issue Links
- is depended upon by
-
MNG-3796
[regression] Class loader inconsistency when loading classes imported from core realm
-
Fixed in r7853.