(Map<String, ?> options)
| 165 | |
| 166 | private static final int DEFAULT_OPEN_OPTIONS = -1; |
| 167 | private static int openFlags(Map<String, ?> options) { |
| 168 | Object opt = options.get(Library.OPTION_OPEN_FLAGS); |
| 169 | if (opt instanceof Number) { |
| 170 | return ((Number)opt).intValue(); |
| 171 | } |
| 172 | return DEFAULT_OPEN_OPTIONS; |
| 173 | } |
| 174 | |
| 175 | private static NativeLibrary loadLibrary(final String libraryName, final Map<String, ?> options) { |
| 176 | LOG.log(DEBUG_LOAD_LEVEL, "Looking for library '" + libraryName + "'"); |
no test coverage detected