Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P3
-
Resolution: Not an Issue
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
Description
Class.newInstance caches the last caller and this can help speed up subsequent calls to newInstance if the caller has not changed. However this optimization is not used for a code path involving the SecurityManager (SM), and changing that code to check the cache would help improve performance when an SM is enabled.