()
| 70 | } |
| 71 | |
| 72 | protected void assertJarExists() { |
| 73 | File jar = new File(JNAJAR); |
| 74 | if (!jar.exists()) { |
| 75 | throw new Error("Expected JNA jar file at " + jar + " is missing"); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | protected void assertLibraryExists() { |
| 80 | String osPrefix = Platform.getNativeLibraryResourcePrefix(); |