Track package change.
art could keep using the "private" package, but it doesn't _need_ to
so it makes sense to switch it over to the [future] public package.
Change-Id: I715e0079fe64886ca9e4a9399bb525a7f8fadab0
diff --git a/test/ThreadStress/ThreadStress.java b/test/ThreadStress/ThreadStress.java
index 795c790..5dccc68 100644
--- a/test/ThreadStress/ThreadStress.java
+++ b/test/ThreadStress/ThreadStress.java
@@ -14,13 +14,15 @@
* limitations under the License.
*/
+import android.system.ErrnoException;
+import android.system.Os;
+import android.system.OsConstants;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import libcore.io.*;
// Run on host with:
// javac ThreadTest.java && java ThreadStress && rm *.class
@@ -202,7 +204,7 @@
}
case SIGQUIT: {
try {
- Libcore.os.kill(Libcore.os.getpid(), OsConstants.SIGQUIT);
+ Os.kill(Os.getpid(), OsConstants.SIGQUIT);
} catch (ErrnoException ex) {
}
}