summaryrefslogtreecommitdiff
path: root/tools/warn/cpp_warn_patterns.py
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2019-12-09 16:36:15 -0800
committerAurimas Liutikas <aurimas@google.com>2019-12-09 16:36:15 -0800
commit743c9c3b6b27e583467e3efe803c8864d1aaef21 (patch)
treed3c6743c0fcb81e6f968469a0162a5b2738011a5 /tools/warn/cpp_warn_patterns.py
parent1b9fd38513ad7fb03dd6ce71b6ba28b373353701 (diff)
Move to using full java-lib-files from stubs.
java-lib-header-files (turbine) differ from java-lib-files (actual metalava output) in how the private constructors are showing up in these jars. in classes.jar android/telephony/AccessNetworkConstants.class package android.telephony; public final class AccessNetworkConstants { private AccessNetworkConstants() { throw new RuntimeException("Stub!"); } } in classes-header.jar android/telephony/AccessNetworkConstants.class package android.telephony; public final class AccessNetworkConstants { } As you can see, turbine seems to skip adding the private constructor, which means that it becomes public. Bug: 145933077 Test: m out/target/common/obj/api.xml out/target/common/obj/api.xml -> no longer has public constructor for AccessNetworkConstants Change-Id: Ie1763783667b41b9892c9c47e6b362d7962caf14
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions