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 a953860 commit db4186bCopy full SHA for db4186b
libs/agent-sm/agent/src/main/java/org/opensearch/javaagent/StackCallerProtectionDomainChainExtractor.java
@@ -50,6 +50,8 @@ private StackCallerProtectionDomainChainExtractor() {}
50
public Collection<ProtectionDomain> apply(Stream<StackFrame> frames) {
51
return frames.takeWhile(
52
frame -> !(ACCESS_CONTROLLER_CLASSES.contains(frame.getClassName()) && DO_PRIVILEGED_METHODS.contains(frame.getMethodName()))
53
+ && !("jdk.internal.platform.CgroupSubsystemController".equals(frame.getClassName())
54
+ && "getStringValue".equals(frame.getMethodName()))
55
)
56
.map(StackFrame::getDeclaringClass)
57
.map(Class::getProtectionDomain)
0 commit comments