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

io.netty.util.internal.NativeLibraryLoader.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2?*io/netty/util/internal/NativeLibraryLoaderjava/lang/ObjectNativeLibraryLoader.java?io/netty/util/internal/NativeLibraryLoader$NoexecVolumeDetectorNoexecVolumeDetector,io/netty/util/internal/NativeLibraryLoader$2	,io/netty/util/internal/NativeLibraryLoader$1logger/Lio/netty/util/internal/logging/InternalLogger;NATIVE_RESOURCE_HOMELjava/lang/String;META-INF/native/OSNAMEWORKDIRLjava/io/File;DELETE_NATIVE_LIB_AFTER_LOADINGZtmpdir()Ljava/io/File;java/lang/Exceptionio.netty.tmpdir)io/netty/util/internal/SystemPropertyUtilget&(Ljava/lang/String;)Ljava/lang/String; !
"toDirectory"(Ljava/lang/String;)Ljava/io/File;$%
&
	(java/lang/StringBuilder*()V,-
+.-Dio.netty.tmpdir: 0append-(Ljava/lang/String;)Ljava/lang/StringBuilder;23
+4-(Ljava/lang/Object;)Ljava/lang/StringBuilder;26
+7toString()Ljava/lang/String;9:
+;-io/netty/util/internal/logging/InternalLogger=debug(Ljava/lang/String;)V?@>Ajava/io/FileCjava.io.tmpdirE (java.io.tmpdir)G	isWindows()ZIJ
KTEMPMjava/lang/SystemOgetenvQ!
PR	 (%TEMP%)TUSERPROFILEV\AppData\Local\TempX# (%USERPROFILE%\AppData\Local\Temp)Zjava/lang/String\\Local Settings\Temp^$ (%USERPROFILE%\Local Settings\Temp)`TMPDIRb
 ($TMPDIR)dC:\Windows\Tempf,@
Dh/tmpj8Failed to get the temporary directory; falling back to: lwarnn@>ouserprofilefmkdirssJ
DtisDirectoryvJ
DwgetAbsoluteFiley
DzignoredLjava/lang/Exception;path	windows?
startsWith(Ljava/lang/String;)Z??
]?isOSXmacosx?osx?loadFirstAvailable-(Ljava/lang/ClassLoader;[Ljava/lang/String;)Vjava/lang/Throwable?[Ljava/lang/String;?load,(Ljava/lang/String;Ljava/lang/ClassLoader;)V??
?#Successfully loaded the library: {}?'(Ljava/lang/String;Ljava/lang/Object;)V??>?java/lang/ClassLoader?4Unable to load the library '{}', trying next name...?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V??>?"java/lang/IllegalArgumentException?+Failed to load any of the given libraries: ?java/util/Arrays?'([Ljava/lang/Object;)Ljava/lang/String;9?
??
?htLjava/lang/Throwable;nameloaderLjava/lang/ClassLoader;namesjava/lang/UnsatisfiedLinkError?io.netty.packagePrefix??8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ?
?replace(CC)Ljava/lang/String;??
]?mapLibraryName?!
P?getResource"(Ljava/lang/String;)Ljava/net/URL;??
???J
?.jnilib?endsWith??
]?META-INF/native/lib?.dynlib?java/net/URL?loadLibrary-(Ljava/lang/ClassLoader;Ljava/lang/String;Z)V??
?lastIndexOf(I)I??
]?	substring(II)Ljava/lang/String;??
]?length()I??
]?	?createTempFileB(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;??
D?
openStream()Ljava/io/InputStream;??
??java/io/FileOutputStream?(Ljava/io/File;)V,?
??java/io/InputStream?java/io/OutputStream?[B?read([B)I??
??write([BII)V??
??flush-
?closeQuietly(Ljava/io/Closeable;)V
getPath:
D	
deleteJ
D
deleteOnExit-
DisFileJ
DcanReadJ
D
access$000(Ljava/io/File;)Z
?{} exists but cannot be executed even when execute permissions set; check volume for "noexec" flag; use -Dio.netty.native.workdir=[path] to set native working directory separately.info?>;Error checking if {} is on a file store mounted with noexec!!could not load a native library: #
?h	initCause,(Ljava/lang/Throwable;)Ljava/lang/Throwable;&'
?(bufferIe Ljava/lang/UnsatisfiedLinkError;originalNamelibnameurlLjava/net/URL;indexprefixsuffixinLjava/io/InputStream;outLjava/io/OutputStream;tmpFile(io/netty/util/internal/NativeLibraryUtil:tryToLoadClass;(Ljava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class;<=
>loadLibraryByHelper'(Ljava/lang/Class;Ljava/lang/String;Z)V@A
B@Unable to load the library '{}', trying other loading mechanism.D(Ljava/lang/String;Z)V?F
;G	newHelperLjava/lang/Class<*>;Ljava/lang/Class;absolute,A
Mjava/security/AccessControllerOdoPrivileged4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;QR
PSgetCause()Ljava/lang/Throwable;UV
?W
getMessageY:
?ZerrorcausehelperretLjava/lang/Object; java/lang/ClassNotFoundExceptionajava/lang/ClasscgetNamee:
df	loadClass%(Ljava/lang/String;)Ljava/lang/Class;hi
?jclassToByteArray(Ljava/lang/Class;)[Blm
n-(Ljava/lang/ClassLoader;Ljava/lang/Class;[B)V,p

qclassBinary"Ljava/lang/ClassNotFoundException;java/io/IOExceptionu(I)Ljava/lang/String;?w
]x.classz
d?
bhjava/io/ByteArrayOutputStream~(I)V,?
?
?toByteArray()[B??
?*(Ljava/lang/String;Ljava/lang/Throwable;)V,?
b?rexLjava/io/IOException;clazzfileNamelastDotclassUrlbufLjava/io/ByteArrayOutputStream;java/io/Closeable?close?-??cLjava/io/Closeable;
.this,Lio/netty/util/internal/NativeLibraryLoader;4io/netty/util/internal/logging/InternalLoggerFactory?getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;??
??os.name?java/util/Locale?USLjava/util/Locale;??	??toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
]?
[^a-z0-9]+?
replaceAll??
]?io.netty.native.workdir?-Dio.netty.native.workdir: ?
? (io.netty.tmpdir)?%io.netty.native.deleteLibAfterLoading?
getBoolean(Ljava/lang/String;Z)Z??
?workdir
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions	Signature*(Ljava/lang/Class<*>;Ljava/lang/String;Z)VA(Ljava/lang/ClassLoader;Ljava/lang/Class<*>;)Ljava/lang/Class<*>;(Ljava/lang/Class<*>;)[B
SourceFileInnerClasses1
?

????#?'K*? ?)?+Y?/1?5*?8?rXrer??#N	O
P(Q*T3U7VWWY[_\h]l^?_?b?c?d?e?f?g?j?k?lmpqr"sBtDyGwH|N}[e????'?*D.4?F]?<.??	D
$%??%*???DY*?iL+?uW+?x??+?{?M+?!"? #|}%~r?&	???????"?#??
?DD
IJ?!	????????
?J?@?????????????????@????[+M,?>6?2,2:*???)????:?)??????λ?Y?+Y?/??5+???5?IK
,-!
,}4??4?4L?IJ?*
 !.3?O?P

@A??P?Y*+?N?TN-???=-??:?X:????	?????Y?[?%???Y?[?%???>4\?"-]?P^KP?PLB_`?P^J?*
)*+",'-/.50B3O5??5???????
<=?? *+?g?k?M+?oN?
Y*+-?r?T?d?	b?*s?
,t ?? ^K? ^J?A	B
DE?Ib?b??
lm??	?*?gL+.??=?+`?yL*?+Y?/+?5{?5?B<C@GAeBhCnD?G?I??B]D?$)??





© 2015 - 2025 Weber Informatics LLC | Privacy Policy