diff options
author | Andy McFadden <fadden@android.com> | 2011-03-25 16:34:23 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2011-03-25 16:34:23 -0700 |
commit | d4ce68dc671294428f096c473f1dc3665bd4ce82 (patch) | |
tree | 7eaf5252b50948440cd22f85b071a517221512d4 /dalvik | |
parent | b4088b380f61a3944ea20ccd746f5ddbf223847f (diff) | |
download | libcore-d4ce68dc671294428f096c473f1dc3665bd4ce82.zip libcore-d4ce68dc671294428f096c473f1dc3665bd4ce82.tar.gz libcore-d4ce68dc671294428f096c473f1dc3665bd4ce82.tar.bz2 |
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
Diffstat (limited to 'dalvik')
-rw-r--r-- | dalvik/src/main/java/dalvik/system/NativeStart.java | 5 |
1 files changed, 2 insertions, 3 deletions
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(); } - |