Package org.apache.felix.framework.util
Class SecurityManagerEx
java.lang.Object
org.apache.felix.framework.util.SecurityManagerEx
Simple utility class used to obtain the current call stack as an array of classes, innermost caller first.
This used to extend SecurityManager purely to expose its protected getClassContext() method. The Security Manager is permanently disabled as of Java SE 24 (JEP 486) and is marked for removal, so the same information is now obtained from StackWalker, which is the supported replacement and yields frames in the same order.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Class<?>[]private static final StackWalker -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_CLASSES
-
WALKER
-
-
Constructor Details
-
SecurityManagerEx
public SecurityManagerEx()
-
-
Method Details
-
getClassContext
-