diff options
author | jfrijters <jfrijters> | 2013-02-19 13:51:05 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2013-02-19 13:51:05 +0400 |
commit | 41854415b96ed5bee3306c9b537e7241adc6d8d5 (patch) | |
tree | 6a0106b65694e156afc6a4519f39a327ef2c4e92 /openjdk/java | |
parent | f13a6f74961a96f7faf0f08dc017a9e6825e91e3 (diff) |
Bug fix. Disallow invalid class names in AssemblyClassLoader.loadClass().
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 2645b226..96cc432e 100644 --- a/openjdk/java/lang/ClassLoader.java +++ b/openjdk/java/lang/ClassLoader.java @@ -935,7 +935,7 @@ public abstract class ClassLoader { String source); // true if the name is null or has the potential to be a valid binary name - private boolean checkName(String name) { + static boolean checkName(String name) { if ((name == null) || (name.length() == 0)) return true; if ((name.indexOf('/') != -1) |