Skip to content

Commit f083039

Browse files
committed
Thrash test.
1 parent 5417b55 commit f083039

File tree

2 files changed

+7691
-0
lines changed

2 files changed

+7691
-0
lines changed

javatests/com/jnibind/test/StringTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,11 @@ public void nullStringTests() {
146146
public void globalReturnsCorrectlyOverJniBoundary() {
147147
jniReturnsAGlobalString();
148148
}
149+
150+
native void nativeAllocationThrash();
151+
152+
@Test
153+
public void allocationThrash() {
154+
nativeAllocationThrash();
155+
}
149156
}

0 commit comments

Comments
 (0)