Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\home\lib\oracle\classloader\SearchPolicyToLogClassesLoadedByMainLoader.class
?? 1 E ? ? D ? D ? D ? D ? ? ? ? ? ? ? ? ? ? ? D ? D ? D ? D ? ? ? D ? ? ? D ? ? ? D ? D ? ? ? ? ? D ? ? ? ? ? ? ? ? ? ? ? D ? ? ? ) ? ) ? ? ? ? ? ? ? ? ? ? ? D ? D ? ? ? 7 ? 7 ? ? ? ? ? ? ? ? = ? ? ? ? A ? ? ? ? logFileLocation Ljava/lang/String; mainClassLoader &Loracle/classloader/PolicyClassLoader; "WRITE_LIST_OF_EXTERNAL_CLASSES_KEY $classesLoadedByMainLoaderinAppLoader Ljava/util/Map; DEFAULT_LOG_FILE_FOR_STATS &DEFAULT_EXTERNAL_CLASSS_LIST_FILE_NAME finishedRecordingExternalClasses Z logStatsFileWriter Ljava/io/FileWriter; +LOG_FILE_NAME_LOGGING_CLASSES_FROM_MAIN_KEY ConstantValue <init> 7(Ljava/lang/String;[Loracle/classloader/SearchPolicy;)V Code LineNumberTable LocalVariableTable logFile Ljava/io/File; ex Ljava/lang/Exception; this ?Loracle/classloader/SearchPolicyToLogClassesLoadedByMainLoader; policyName policies "[Loracle/classloader/SearchPolicy; doWriteListOfExternalClasses ()Z getMapForClassesLoadedByMain ()Ljava/util/Map; setMainClassLoader ()V getMainClassLoader (()Loracle/classloader/PolicyClassLoader; exitGetClass ](Ljava/lang/Class;Ljava/lang/String;Loracle/classloader/PolicyClassLoader;Z)Ljava/lang/Class; i I elems [Ljava/lang/StackTraceElement; loaderName cl Ljava/lang/Class; className loader fromChild setClassLoaderLogsFileLocation getClassLoaderLogsFileLocation ()Ljava/lang/String; getLogStatsWriter ()Ljava/io/FileWriter; logToStatsFile (Ljava/lang/String;)V closeex message writeExternalClassesToFile pairs Entry InnerClasses Ljava/util/Map$Entry; map Ljava/util/TreeMap; it Ljava/util/Iterator; externalClassesFile externalfileWriter <clinit> SourceFile /SearchPolicyToLogClassesLoadedByMainLoader.java U V classesloadedbymainloader.log M G w h F G Q R java/io/File U } ? d ? d java/io/FileWriter java/lang/Exception &Failed to initialize with exception : ? ? ? g h O P ? h J G ? ? ? K L ? ? j H I ? ? ? i j ? f ? ? ? ? ? y e f ? ? java/lang/StringBuilder U h Classname= ? ? ,invoking loader= ? ? ? y | } D--------------------------- Printing stack ------------------------ java/lang/Error ? ? ? log.file.name ? ? ? } ? h /Failed to write to stats file with exception : ? h ,Failed to close stats file with exception : c d N G U ? java/util/TreeMap U ? ? ? ? ? ? d java/util/Map$Entry 7Failed to write external classes list with exception : record.external.classes java/util/HashMap record-externalclasses.txt =oracle/classloader/SearchPolicyToLogClassesLoadedByMainLoader ,oracle/classloader/InterceptorSearchSequence exists delete 'oracle/classloader/util/ClassLoadLogger logException +(Ljava/lang/String;Ljava/lang/Throwable;Z)V %oracle/classloader/util/PropertyUtils getBooleanProperty (Ljava/lang/String;Z)Z #oracle/classloader/ClassLoaderQuery getMainLoader java/lang/Class getClassLoader ()Ljava/lang/ClassLoader; getExternalClasses java/util/Map containsKey (Ljava/lang/Object;)Z $oracle/classloader/PolicyClassLoader getName put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString getStackTrace ()[Ljava/lang/StackTraceElement; java/lang/StackTraceElement getProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; write flush close (Ljava/lang/String;Z)V (Ljava/util/Map;)V entrySet ()Ljava/util/Set; java/util/Set iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; getKey ! D E F G H I J G K L M G N G O P Q R S G T - U V W o*+,? *? *? *YN?*? ? 2? ? ,? Y*? ? :? ? ? W? Y*? ? ? -? :-?? N-? *? ? ? ? ? L O O S O V Y X J M / O P Q R ! S . U 6 V <