diff options
author | Aurimas Liutikas <aurimas@google.com> | 2019-12-09 16:36:15 -0800 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2019-12-09 16:36:15 -0800 |
commit | 743c9c3b6b27e583467e3efe803c8864d1aaef21 (patch) | |
tree | d3c6743c0fcb81e6f968469a0162a5b2738011a5 /tools/warn/java_warn_patterns.py | |
parent | 1b9fd38513ad7fb03dd6ce71b6ba28b373353701 (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/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions