summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-03-22 14:41:20 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-03-22 14:41:20 -0700
commite6ce85b954b9dd1e3bf672aa81ae845a6533e17a (patch)
tree2c515697bcdf9f7453787df76be2a7263ffbb6b5 /dalvik
parent8294b84a58c649ec6f7f498a6b55c8d6553f0725 (diff)
parent8647680e6a884b504a9f502e0f6a24218fdf675c (diff)
downloadlibcore-e6ce85b954b9dd1e3bf672aa81ae845a6533e17a.zip
libcore-e6ce85b954b9dd1e3bf672aa81ae845a6533e17a.tar.gz
libcore-e6ce85b954b9dd1e3bf672aa81ae845a6533e17a.tar.bz2
Merge "Remove more dead SecurityManager cruft." into dalvik-dev
Diffstat (limited to 'dalvik')
-rw-r--r--dalvik/src/main/java/dalvik/system/DexFile.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/dalvik/src/main/java/dalvik/system/DexFile.java b/dalvik/src/main/java/dalvik/system/DexFile.java
index 13d067c..dc3e063 100644
--- a/dalvik/src/main/java/dalvik/system/DexFile.java
+++ b/dalvik/src/main/java/dalvik/system/DexFile.java
@@ -19,10 +19,8 @@ package dalvik.system;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
-import java.security.ProtectionDomain;
import java.util.Enumeration;
-
/**
* Manipulates DEX files. The class is similar in principle to
* {@link java.util.zip.ZipFile}. It is used primarily by class loaders.
@@ -194,13 +192,10 @@ public final class DexFile {
* @hide
*/
public Class loadClassBinaryName(String name, ClassLoader loader) {
- return defineClass(name, loader, mCookie,
- null);
- //new ProtectionDomain(name) /*DEBUG ONLY*/);
+ return defineClass(name, loader, mCookie);
}
- native private static Class defineClass(String name, ClassLoader loader,
- int cookie, ProtectionDomain pd);
+ private native static Class defineClass(String name, ClassLoader loader, int cookie);
/**
* Enumerate the names of the classes in this DEX file.