summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-03-22 13:35:08 -0700
committerElliott Hughes <enh@google.com>2011-03-22 13:35:08 -0700
commit8647680e6a884b504a9f502e0f6a24218fdf675c (patch)
tree7b876257757127a6359046881146c828bae8072e /dalvik
parent7e13c0f05ac9e7c55682d10e953dd4cbd5e6107c (diff)
downloadlibcore-8647680e6a884b504a9f502e0f6a24218fdf675c.zip
libcore-8647680e6a884b504a9f502e0f6a24218fdf675c.tar.gz
libcore-8647680e6a884b504a9f502e0f6a24218fdf675c.tar.bz2
Remove more dead SecurityManager cruft.
(Requires corresponding dalvik change.) Change-Id: I65cd76ae056d4a1ff5f1a3e168b118a47cf09ff5
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.