All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.bootstrap.JarHell.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?%com/groupbyinc/flux/bootstrap/JarHelljava/lang/ObjectJarHell.java'com/groupbyinc/flux/bootstrap/JarHell$1()V	

this'Lcom/groupbyinc/flux/bootstrap/JarHell;main([Ljava/lang/String;)Vjava/lang/Exception.Lcom/groupbyinc/flux/common/SuppressForbidden;reasoncommand line tooljava/lang/SystemoutLjava/io/PrintStream;	checking for jar hell...java/io/PrintStreamprintln(Ljava/lang/String;)V 
!checkJarHell#	
$no jar hell found&args[Ljava/lang/String;java/io/IOException*java/net/URISyntaxException,java/lang/Class.getClassLoader()Ljava/lang/ClassLoader;01
/2*com/groupbyinc/flux/common/logging/Loggers4	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;67
58org/apache/logging/log4j/Logger:isDebugEnabled()Z<=;>java.class.path: {}@java.class.pathBgetProperty&(Ljava/lang/String;)Ljava/lang/String;DE
Fdebug'(Ljava/lang/String;Ljava/lang/Object;)VHI;Jsun.boot.class.path: {}Lsun.boot.class.pathNjava/net/URLClassLoaderPclassloader urls: {}RgetURLs()[Ljava/net/URL;TU
QVjava/util/ArraysXtoString'([Ljava/lang/Object;)Ljava/lang/String;Z[
Y\java/lang/ClassLoader^parseClassPath()Ljava/util/Set;`a
b(Ljava/util/Set;)V#d
eloaderLjava/lang/ClassLoader;logger!Lorg/apache/logging/log4j/Logger;#(Ljava/lang/String;)Ljava/util/Set;`k
l8resolves against CWD because that is how classpaths workjava/net/MalformedURLExceptionopath.separatorqfile.separatorsjava/lang/Stringusplit'(Ljava/lang/String;)[Ljava/lang/String;wx
vyjava/util/LinkedHashSet{
|
)
java/util/SetisEmpty?=
v?java/lang/IllegalStateException?java/lang/StringBuilder?
?
iClasspath should not contain empty elements! (outdated shell script from a previous version?) classpath='?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??'?()Ljava/lang/String;Z?
?? 
??/?
startsWith(Ljava/lang/String;)Z??
v?\?equals(Ljava/lang/Object;)Z??
v?replaceD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;??
v?length()I??
v?charAt(I)C??
v?	substring(I)Ljava/lang/String;??
v?'com/groupbyinc/flux/common/io/PathUtils?get;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;??
??java/nio/file/Path?toUri()Ljava/net/URI;????java/net/URI?toURL()Ljava/net/URL;??
??add????	jar hell!?
lineSeparator??
?duplicate jar [?] on classpath: ?java/lang/RuntimeException?(Ljava/lang/Throwable;)V?
??java/util/Collections?unmodifiableSet (Ljava/util/Set;)Ljava/util/Set;??
??urlLjava/net/URL;e Ljava/net/MalformedURLException;elementLjava/lang/String;	classPath
pathSeparator
fileSeparatorelementsurlElementsLjava/util/Set;Ljava/util/Set;-needs JarFile for speed, just reading entriesjava/lang/Throwable?	java.home?
java.home: {}?java/util/HashMap??(I)V?
??java/util/HashSet?
?
iterator()Ljava/util/Iterator;????
java/util/Map?java/util/Iterator?hasNext=?next()Ljava/lang/Object;?java/net/URLtoURI	?

$(Ljava/net/URI;)Ljava/nio/file/Path;?
?
??excluding system resource: {}??.jarendsWith?
vduplicate jar on classpath: -(Ljava/lang/Object;)Ljava/lang/StringBuilder;?
?examining jar: {}java/util/jar/JarFile
 ?getManifest()Ljava/util/jar/Manifest;"#
 $
checkManifest/(Ljava/util/jar/Manifest;Ljava/nio/file/Path;)V&'
(java/util/jar/Manifest*entries()Ljava/util/Enumeration;,-
 .java/util/Enumeration0hasMoreElements2=13nextElement516java/util/jar/JarEntry8getName:?
9;.class=(CC)Ljava/lang/String;??
v@(II)Ljava/lang/String;?B
vC
checkClass8(Ljava/util/Map;Ljava/lang/String;Ljava/nio/file/Path;)VEF
GcloseI	
 J
addSuppressedL?
?Mexamining directory: {}O
getFileSystem()Ljava/nio/file/FileSystem;QR?Sjava/nio/file/FileSystemUgetSeparatorW?
VXL(Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/Map;Ljava/nio/file/Path;)VZ
[java/nio/file/Files]walkFileTreeE(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;_`
^aentrymanifestLjava/util/jar/Manifest;1Ljava/util/Enumeration;Ljava/util/Enumeration;fileLjava/util/jar/JarFile;rootLjava/nio/file/Path;seppathurlsjavaHomeclazzes7Ljava/util/Map;Ljava/util/Map;seenJars%Ljava/util/Set;getMainAttributes()Ljava/util/jar/Attributes;uv
+wX-Compile-Target-JDKyjava/util/jar/Attributes{getValue}E
|~checkVersionFormat? 
?checkJavaVersion'(Ljava/lang/String;Ljava/lang/String;)V??
?com/groupbyinc/flux/Version?CURRENTLcom/groupbyinc/flux/Version;??	??
??X-Compile-Elasticsearch-Version? requires Elasticsearch ?, your system: ?jar
targetVersionsystemESVersiontargetESVersion)com/groupbyinc/flux/bootstrap/JavaVersion?isValid??
??java/util/Locale?ROOTLjava/util/Locale;??	??zversion string must be a sequence of nonnegative decimal integers separated by "."'s and may have leading zeros but was %s?formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
v?parse?(Ljava/lang/String;)Lcom/groupbyinc/flux/bootstrap/JavaVersion;??
??current-()Lcom/groupbyinc/flux/bootstrap/JavaVersion;??
??	compareTo.(Lcom/groupbyinc/flux/bootstrap/JavaVersion;)I??
??%%s requires Java %s:, your system: %s?
??resourceversion+Lcom/groupbyinc/flux/bootstrap/JavaVersion;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??????org.apache.xmlbeans?class: ?exists multiple times in jar: ?
 !!!!!!!!!?jar1: ?jar2: ?clazzjarpathpreviousCodeLocalVariableTableLineNumberTable
ExceptionsRuntimeInvisibleAnnotations
StackMapTable	Signature!()Ljava/util/Set;LocalVariableTypeTable3(Ljava/lang/String;)Ljava/util/Set;"(Ljava/util/Set;)V`(Ljava/util/Map;Ljava/lang/String;Ljava/nio/file/Path;)V
SourceFileInnerClasses!
	?/*???
?B	?J??"?%?'?"??()?GHIJ??s	#	??O?3K?9L+???6+AC?G?K+MO?G?K*?Q?+S*?Q?W?]?K?c?f??IghCij?&	QRST"U/V6WHZN[??H_;?+-	`a?!	C?G?m??c??`k?	
r?GLt?GM*+?zN?|Y?}:-:?66??2:???#??Y??Y?????*??????????????3?,???*????:?????:???:?v??????:		???3??Y??Y??ȶ??˶?Ͷ???϶?*????????:	??Y	?Կ???/?ڰ???p?R?<??	?
??	4?????????????)????????Nnopqr4z<{\?o?z????????????????r???1?&vvv~?~?5v9?NBp?????sn	#d????9L?GM+?,?K??Y??N??Y??:*??:?????:??:,??+?K?????????+??Y??Y??ȶ??˶?????????+?K? Y??!::	?%:

?

?)?/:?4???7?9?<:>??"/.?A??d?D:-?H????U	??K?H:
	
?N?<?K?4:

:	
?:
?!	??K?:	?N??K
??8+P?K??:?T?Y:	?Y	-?\?bW??v?5:=??+Q??+Zfkn?Q\Z??
?*c??Yde
?F?g??hi? jk?l?	PjmkFt???n??ij?o??pr(?s??*?F?f?n??pq(?st??"?????(?F?P?[?f?i?y?????????????????????	? ?(?+?Q?Z????????????????0?;v????8??C?0 ?+?1?B?Q?G?H???;v???? ?????;v?????4??-+???s?&'??j*?xz?M,?,??+?,??????N*?x??:?7-???.??Y??Y??+?????????-?????????4jdej?k_??$F??0:???&	?????$?0?>?i???v?Kvv	? ?`!*?????Y????Y*S???????!?????? ?? 	????6+??M??,???)??Y????Y*SY+SY????S??????? 6??6??1??????'.?5??5?EF?>?*+,????N-??-,???K+???????Y??Y??ȶ??˶?ö?+???˶?Ŷ?,?Ƕ????????Y??Y??ȶ??˶?ö?+???˶?ɶ?-??˶?˶?,????????*?pr?????k??k??pq?.
$%Eb?????%?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy