diff options
author | jfrijters <jfrijters> | 2013-01-30 21:39:46 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2013-01-30 21:39:46 +0400 |
commit | 1fb17e31014ad10425fca1c2c621f86929e52c3a (patch) | |
tree | bfa62e77e377561267fa849a4c3ad754323a33f9 /openjdk/java | |
parent | c10a060bd9a43c1852a650175a23c0a4219b201c (diff) |
Implemented package access checks (dynamic mode only).
Diffstat (limited to 'openjdk/java')
-rw-r--r-- | openjdk/java/lang/ClassLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openjdk/java/lang/ClassLoader.java b/openjdk/java/lang/ClassLoader.java index d759584c..2645b226 100644 --- a/openjdk/java/lang/ClassLoader.java +++ b/openjdk/java/lang/ClassLoader.java @@ -505,7 +505,7 @@ public abstract class ClassLoader { } // Invoked by the VM after loading class with this loader. - private void checkPackageAccess(Class cls, ProtectionDomain pd) { + final void checkPackageAccess(Class cls, ProtectionDomain pd) { final SecurityManager sm = System.getSecurityManager(); if (sm != null) { final String name = cls.getName(); |