forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allow third parties to provide Netty's native libraries (netty…
…#11856) Throw an exception when there are multiple netty-tcnative-** libraries with the same path in the classpath Motivation: Currently Netty loads the first resource in the classpath with a given name. It seems there are [libraries](netty/netty-tcnative#681 (comment)) which provide Netty's native libraries themselves. Modification: From now on Netty will look for all resources with the given name and throw an exception if there are more than one. The user application needs to make sure that there is at most one provider of Netty's native libraties (netty-tcnative-**) Result: Fixes netty/netty-tcnative#681.
- Loading branch information
Showing
5 changed files
with
79 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+6.66 KB
common/src/test/data/NativeLibraryLoader/1/META-INF/native/libtest1.so
Binary file not shown.
Binary file added
BIN
+6.66 KB
common/src/test/data/NativeLibraryLoader/1/META-INF/native/libtest2.so
Binary file not shown.
Binary file added
BIN
+6.66 KB
common/src/test/data/NativeLibraryLoader/2/META-INF/native/libtest1.so
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters