OSDN Git Service

Remove broken .so and fix bogus test.
authorElliott Hughes <enh@google.com>
Thu, 29 Oct 2009 21:02:57 +0000 (14:02 -0700)
committerElliott Hughes <enh@google.com>
Thu, 29 Oct 2009 21:02:57 +0000 (14:02 -0700)
commit006c279b85790e143ee1090ea072c4bcb876432a
tree4ad8271847d1f61737cc2b6f8f09db8dc94e8139
parent95c4e0f4a49cb24e5b26edecf22392241d087e9f
Remove broken .so and fix bogus test.

valgrind doesn't like this because the .so *only* exists for x86 (contrary to
the claim in the @AndroidOnly annotation) but it's broken there, returning
a char* instead of a jstring.

I'm not really sure what they were trying to test here, but let's assume it
was that Runtime.getRuntime().load behaves like System.load, and fix the
tests that way.

Bug: 2223234
libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SystemTest.java
libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/TestLibrary.java [deleted file]
libcore/luni/src/test/resources/libTestLibrary.so [deleted file]