OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec02795
)
Fix braino in the test to make it work on target.
author
Nicolas Geoffray
<ngeoffray@google.com>
Tue, 21 Jun 2016 12:05:24 +0000
(13:05 +0100)
committer
Nicolas Geoffray
<ngeoffray@google.com>
Tue, 21 Jun 2016 12:05:24 +0000
(13:05 +0100)
Change-Id: I074b93e8ceca9ca8cc49fa47af19484f522a78af
test/150-loadlibrary/src/Main.java
patch
|
blob
|
history
diff --git
a/test/150-loadlibrary/src/Main.java
b/test/150-loadlibrary/src/Main.java
index
5e34922
..
9086937
100644
(file)
--- a/
test/150-loadlibrary/src/Main.java
+++ b/
test/150-loadlibrary/src/Main.java
@@
-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(),
lib
Name, bootClassLoader);
+ Object result = m.invoke(Runtime.getRuntime(),
file
Name, bootClassLoader);
if (result != null) {
throw new IllegalStateException(result.toString());
}