OSDN Git Service

Fix braino in the test to make it work on target.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 21 Jun 2016 12:05:24 +0000 (13:05 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 21 Jun 2016 12:05:24 +0000 (13:05 +0100)
Change-Id: I074b93e8ceca9ca8cc49fa47af19484f522a78af

test/150-loadlibrary/src/Main.java

index 5e34922..9086937 100644 (file)
@@ -49,7 +49,7 @@ public class Main {
     // log that we'd have to strip (it contains the pid).
     Method m = Runtime.class.getDeclaredMethod("doLoad", String.class, ClassLoader.class);
     m.setAccessible(true);
-    Object result = m.invoke(Runtime.getRuntime(), libName, bootClassLoader);
+    Object result = m.invoke(Runtime.getRuntime(), fileName, bootClassLoader);
     if (result != null) {
       throw new IllegalStateException(result.toString());
     }