MCPcopy Index your code
hub / github.com/arduino/Arduino / loadLib

Method loadLib

arduino-core/src/processing/app/Platform.java:146–156  ·  view source on GitHub ↗
(File lib)

Source from the content-addressed store, hash-verified

144 }
145
146 private static void loadLib(File lib) {
147 try {
148 System.load(lib.getAbsolutePath());
149 } catch (UnsatisfiedLinkError e) {
150 e.printStackTrace();
151 System.out.println(e.getMessage());
152 System.out.println("Cannot load native library " + lib.getAbsolutePath());
153 System.out.println("The program has terminated!");
154 System.exit(1);
155 }
156 }
157
158 private native String resolveDeviceAttachedToNative(String serial);
159

Callers 1

PlatformClass · 0.95

Calls 3

printStackTraceMethod · 0.80
loadMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected