From d4ce68dc671294428f096c473f1dc3665bd4ce82 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Fri, 25 Mar 2011 16:34:23 -0700 Subject: Minor tweak to NativeStart There's no value in pretending to be Runnable, and the VM init is a bit cleaner if we stop. Change-Id: Ie6043b4621ae72db1190e79769aaa1771c83197c --- dalvik/src/main/java/dalvik/system/NativeStart.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dalvik') diff --git a/dalvik/src/main/java/dalvik/system/NativeStart.java b/dalvik/src/main/java/dalvik/system/NativeStart.java index ee360ff..1382823 100644 --- a/dalvik/src/main/java/dalvik/system/NativeStart.java +++ b/dalvik/src/main/java/dalvik/system/NativeStart.java @@ -30,11 +30,10 @@ package dalvik.system; * JNI AttachCurrentThread call. If they attach the thread and start * creating objects, we need a fake frame to store stuff in. */ -class NativeStart implements Runnable { +class NativeStart { private NativeStart() {} private static native void main(String[] dummy); - public native void run(); + private static native void run(); } - -- cgit v1.1