Closed
Description
While dealing with NativeLibraryLoader in another issue I notices NativeLibraryLoader uses some hardcoded hacks that need to be fixed.
for example, in the below code, when it can not find the file inside the jar instead of immediately failing it tries to load it as a system library using System.loadLibrary(libName);
which shouldn't in my opinion.
or here, for lwjgl and jinput, it does not load them actually just extracts them and sets the path in a system property to be loaded later on by the library itself.