com.groupbyinc.flux.SecureSM.class Maven / Gradle / Ivy
???? 3 ? com/groupbyinc/flux/SecureSM java/lang/SecurityManager
SecureSM.java com/groupbyinc/flux/SecureSM$2 com/groupbyinc/flux/SecureSM$1 packagesThatCanExit [Ljava/lang/String; TEST_RUNNER_PACKAGES DEBUG Z MODIFY_THREAD_PERMISSION Ljava/security/Permission; "MODIFY_ARBITRARY_THREAD_PERMISSION MODIFY_THREADGROUP_PERMISSION 'MODIFY_ARBITRARY_THREADGROUP_PERMISSION ()V java/lang/String ([Ljava/lang/String;)V
this Lcom/groupbyinc/flux/SecureSM;
createTestSecureSM ()Lcom/groupbyinc/flux/SecureSM; # checkAccess (Ljava/lang/Thread;)V java/lang/SecurityException ' checkThreadAccess ) &
*
, java/lang/System . out Ljava/io/PrintStream; 0 1 / 2 java/lang/StringBuilder 4
5 access: caller thread= 7 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 9 :
5 ; java/lang/Thread =
currentThread ()Ljava/lang/Thread; ? @
> A -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 9 C
5 D toString ()Ljava/lang/String; F G
5 H java/io/PrintStream J println (Ljava/lang/String;)V L M
K N access: target thread= P getThreadGroup ()Ljava/lang/ThreadGroup; R S
> T debugThreadGroups 1(Ljava/lang/ThreadGroup;Ljava/lang/ThreadGroup;)V V W
X e Ljava/lang/SecurityException; t Ljava/lang/Thread; (Ljava/lang/ThreadGroup;)V checkThreadGroupAccess _ ^
` g Ljava/lang/ThreadGroup; access: caller group= d access: target group= f caller target java/util/Objects j requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; l m
k n p checkPermission (Ljava/security/Permission;)V r s
t java/lang/ThreadGroup v parentOf (Ljava/lang/ThreadGroup;)Z x y
w z | source ? checkExit (I)V innerCheckExit ? ?
? status I "(Lcom/groupbyinc/flux/SecureSM;I)V ?
? java/security/AccessController ? doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; ? ?
? ? ? ?
?
access$000 3(Lcom/groupbyinc/flux/SecureSM;)[Ljava/lang/String; x0 !org.apache.maven.surefire.booter. ? 9com.groupbyinc.flux.common.carrotsearch.ant.tasks.junit4. ? &org.eclipse.jdt.internal.junit.runner. ? 7com.groupbyinc.flux.common.intellij.rt.execution.junit. ?
java/lang/Boolean ? booleanValue ()Z ? ?
? ? java/lang/RuntimePermission ? modifyThread ? M
? ? $com/groupbyinc/flux/ThreadPermission ? modifyArbitraryThread ?
? ? modifyThreadGroup ? modifyArbitraryThreadGroup ? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses !
? 7 *? ? ? ? ?
H I ? F
*? *+? ? ?
? Q R S ! " ? # ? Y? $? ? ? ` % &