diff options
author | Brian Carlstrom <bdc@google.com> | 2014-08-05 19:33:29 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-08-05 19:41:24 -0700 |
commit | f23d51b9994136e71bc5eb4ec3f3f9a0cad879f6 (patch) | |
tree | 322d8082f61fab502158aff50bb5fca2eb16b064 /libart | |
parent | 6c17caabccd492226c50605929a0eb9e044cb7dc (diff) | |
download | libcore-f23d51b9994136e71bc5eb4ec3f3f9a0cad879f6.zip libcore-f23d51b9994136e71bc5eb4ec3f3f9a0cad879f6.tar.gz libcore-f23d51b9994136e71bc5eb4ec3f3f9a0cad879f6.tar.bz2 |
Workaround doclava leaking ArtMethod
Bug: 16828157
(cherry picked from commit fe51ef7c7974e33b2ee20457aa16d6aef6cf3485)
Change-Id: I271571a7501b9bce03ad1c09e09b5bfe4ffc422b
Diffstat (limited to 'libart')
-rw-r--r-- | libart/src/main/java/java/lang/reflect/AbstractMethod.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libart/src/main/java/java/lang/reflect/AbstractMethod.java b/libart/src/main/java/java/lang/reflect/AbstractMethod.java index df6b2ce..7e6491d 100644 --- a/libart/src/main/java/java/lang/reflect/AbstractMethod.java +++ b/libart/src/main/java/java/lang/reflect/AbstractMethod.java @@ -46,8 +46,16 @@ import libcore.reflect.Types; */ public abstract class AbstractMethod extends AccessibleObject { + /** + * Hidden to workaround b/16828157. + * @hide + */ protected final ArtMethod artMethod; + /** + * Hidden to workaround b/16828157. + * @hide + */ protected AbstractMethod(ArtMethod artMethod) { if (artMethod == null) { throw new NullPointerException("artMethod == null"); |