зеркало из https://github.com/mozilla/gecko-dev.git
c723648f9d
The API version detection functionality was broken in SDKProcessor because we were passing in "Lpackage/Class;" as the class name rather than just "package/Class". Also, some classes have a weird situation where some methods were moved around in later API versions. For example, some put* and get* methods in Bundle were moved to BaseBundle in API 21. If we only checked BaseBundle.put*, we would think they are API 21+ only. The workaround is to check both the top-level class and the declaring class for a member, and choose the lower API level as the minimal API level for that member. This patch also fixes bugs in including the right class members. For SDKProcessor we want to include all public members of a class, including inherited members, because the private/protected members are not part of the public API. For AnnotationProcessor, we want to include all the members declared in that class, including private and protected members, because we may want to access private/protected members of our own Java classes from C++. |
||
---|---|---|
.. | ||
annotationProcessors | ||
autoconf | ||
clang-plugin | ||
compare-mozconfig | ||
docs | ||
macosx | ||
mobile | ||
package/mac_osx | ||
pgo | ||
pymake | ||
release | ||
sanitizers | ||
stlport | ||
unix | ||
util | ||
valgrind | ||
win32 | ||
win64 | ||
.lldbinit.in | ||
Makefile.in | ||
__init__.py | ||
appini_header.py | ||
application.ini | ||
automation-build.mk | ||
automation.py.in | ||
automationutils.py | ||
binary-location.mk | ||
buildconfig.py | ||
checksums.py | ||
defines.sh | ||
dumbmake-dependencies | ||
dumpScreen.py | ||
gecko_templates.mozbuild | ||
gen_mach_buildprops.py | ||
gen_test_packages_manifest.py | ||
genrc.sh | ||
gyp.mozbuild | ||
mach_bootstrap.py | ||
moz-automation.mk | ||
moz.build | ||
mozconfig.automation | ||
mozconfig.cache | ||
mozconfig.common | ||
mozconfig.common.override | ||
mozconfig.vs-common | ||
mozconfig.win-common | ||
msys-perl-wrapper | ||
qemu-wrap | ||
sccache.mk | ||
subconfigure.py | ||
templates.mozbuild | ||
update-settings.ini | ||
upload.py | ||
virtualenv_packages.txt |