diff options
author | Neil Fuller <nfuller@google.com> | 2015-04-22 11:39:49 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2015-04-22 16:42:37 +0100 |
commit | f5cd147674c1de0ef860ac28867358d8cfbcd958 (patch) | |
tree | 1d0a176e88e6808d8170c9806a29456369ec7e5e /libart | |
parent | 298bf64cb09d9e11f99aeda8a7a0a1f709ec91f9 (diff) | |
download | libcore-f5cd147674c1de0ef860ac28867358d8cfbcd958.zip libcore-f5cd147674c1de0ef860ac28867358d8cfbcd958.tar.gz libcore-f5cd147674c1de0ef860ac28867358d8cfbcd958.tar.bz2 |
Tidy up Package and classloader comments
After commit 31ae6d22605a0967d722f935bc3a8b868ada4917
Remove a TODO, improve a test and fix a comment.
Also fixes a bug in Package demonstrated by the improved test.
Bug: 20482259
Change-Id: I6b37413d7004ce85c99bb854e0ec41e5f8588250
Diffstat (limited to 'libart')
-rw-r--r-- | libart/src/main/java/java/lang/ClassLoader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libart/src/main/java/java/lang/ClassLoader.java b/libart/src/main/java/java/lang/ClassLoader.java index 9079dc4..dfbeeb5 100644 --- a/libart/src/main/java/java/lang/ClassLoader.java +++ b/libart/src/main/java/java/lang/ClassLoader.java @@ -646,8 +646,8 @@ public abstract class ClassLoader { throw new IllegalArgumentException("Package " + name + " already defined"); } - Package newPackage = new Package(name, specTitle, specVersion, specVendor, implTitle, - implVersion, implVendor, sealBase); + Package newPackage = new Package(this, name, specTitle, specVersion, specVendor, + implTitle, implVersion, implVendor, sealBase); packages.put(name, newPackage); |