We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b1203 commit d6dc167Copy full SHA for d6dc167
ffm/src/main/java/org/pcre4j/ffm/Pcre2.java
@@ -91,7 +91,7 @@ public Pcre2(String library, String suffix) {
91
throw new IllegalArgumentException("suffix must not be null");
92
}
93
94
- if (new File(library).exists()) {
+ if (library.indexOf(File.separatorChar) != -1) {
95
System.load(library);
96
} else {
97
System.loadLibrary(library);
0 commit comments