classes.io.netty.util.ResourceLeakDetectorFactory$DefaultResourceLeakDetectorFactory.class Maven / Gradle / Ivy
???? 2 ? Lio/netty/util/ResourceLeakDetectorFactory$DefaultResourceLeakDetectorFactory )io/netty/util/ResourceLeakDetectorFactory ResourceLeakDetectorFactory.java "DefaultResourceLeakDetectorFactory Nio/netty/util/ResourceLeakDetectorFactory$DefaultResourceLeakDetectorFactory$1 customClassConstructor Ljava/lang/reflect/Constructor; "Ljava/lang/reflect/Constructor<*>; ()V java/lang/Throwable
Q(Lio/netty/util/ResourceLeakDetectorFactory$DefaultResourceLeakDetectorFactory;)V
java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
java/lang/String
access$000 1()Lio/netty/util/internal/logging/InternalLogger;
ECould not access System property: io.netty.customResourceLeakDetector ! -io/netty/util/internal/logging/InternalLogger # error *(Ljava/lang/String;Ljava/lang/Throwable;)V % & $ ' 3(Ljava/lang/String;)Ljava/lang/reflect/Constructor; )
* java/lang/reflect/Constructor ,
. customLeakDetector Ljava/lang/String; cause Ljava/lang/Throwable; this NLio/netty/util/ResourceLeakDetectorFactory$DefaultResourceLeakDetectorFactory; (io/netty/util/internal/PlatformDependent 6 getSystemClassLoader ()Ljava/lang/ClassLoader; 8 9
7 : java/lang/Class < forName =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; > ?
= @ "io/netty/util/ResourceLeakDetector B isAssignableFrom (Ljava/lang/Class;)Z D E
= F java/lang/Integer H TYPE Ljava/lang/Class; J K I L java/lang/Long N O L getConstructor 3([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; Q R
= S 4Class {} does not inherit from ResourceLeakDetector. U '(Ljava/lang/String;Ljava/lang/Object;)V % W $ X ?Could not load custom resource leak detector class provided: {} Z 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V % \ $ ]
detectorClass Ljava/lang/Class<*>; t newResourceLeakDetector 9(Ljava/lang/Class;IJ)Lio/netty/util/ResourceLeakDetector; java/lang/Object d valueOf (I)Ljava/lang/Integer; f g
I h (J)Ljava/lang/Long; f j
O k newInstance '([Ljava/lang/Object;)Ljava/lang/Object; m n
- o &Loaded custom ResourceLeakDetector: {} q getDeclaringClass ()Ljava/lang/Class; s t
- u getName ()Ljava/lang/String; w x
= y debug { W $ | UCould not load custom resource leak detector provided: {} with the given resource: {} ~ ((Ljava/lang/String;[Ljava/lang/Object;)V % ? $ ? (Ljava/lang/Class;IJ)V ?
C ? 'Loaded default ResourceLeakDetector: {} ? leakDetector )Lio/netty/util/ResourceLeakDetector; $Lio/netty/util/ResourceLeakDetector; resource Ljava/lang/Class; samplingInterval I maxActive J resourceLeakDetector Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable 6(Ljava/lang/String;)Ljava/lang/reflect/Constructor<*>; Y(Ljava/lang/Class;IJ)Lio/netty/util/ResourceLeakDetector;
SourceFile InnerClasses 0
?
? ? 5*? ? Y*? ? ? L? M? ",? ( L*+? ? +? +? /? ? * 0 1
2 3 5 4 5 $ 0 1 ? " V Y b _ ` " a $ c 4 d ? , ? ?
H ? -
) ? ? I*? ;? ALC+? G? +? =Y=SY? MSY? PS? T?? V*? Y ? L? [*+? ^ ? + : , 7 : ? . _ K ; a 3 I 0 1 ? . _ ` ? " h k l , n 7 s : p ; q G t ? ? , =?
? ? b c ? D ?*? /? b*? /? eY+SY? iSY!? lS? p? C:? r*? /? v? z? } ?:? ? eY*? /? v? zSY+SYS? ? ? CY+!? ?:? ?? } ? ? @ ? H ) ? ? B $ a 3 ? 4 5 ? ? K ? ? ? ? ? ? r ? ? ? ) ? ? ? ? ? r ? ? ? &