Age | Commit message (Collapse) | Author |
|
Change-Id: I69f45883c2b13bc38cdd03199706e1a35dbb0525
|
|
9e1602fcb0 am: a715adced4
am: e481f8e66f
Change-Id: I829b963e2150538b432e32951e5c4242780e56eb
|
|
desugar"" am: 0156e0d255 am: bbd7d2e2c3
am: 748b31ab42
Change-Id: I46987eedb6dbed2c4a52acd650991864de43916c
|
|
am: a715adced4
Change-Id: I2337379346c5b63ac6b84faf21e7c5960822b4b9
|
|
desugar"" am: 0156e0d255
am: bbd7d2e2c3
Change-Id: I039388f5f5045e9385461c60efbca732f1bce254
|
|
am: 9e1602fcb0
Change-Id: I6000bcab321f9ad3be79f206530a1b926c99131e
|
|
desugar""
am: 0156e0d255
Change-Id: Id57705c5c50bcb4dd5754762216176b3de781cb6
|
|
* aosp/upstream-master:
Automatic formatting cleanup of Android *.java files.
Eagerly close directory content stream again when looking for dumped lambdas RELNOTES: None.
reflect prefix in additional ClassReader methods for consistency with what happens during visit() RELNOTES: None.
Bug: 70415451
Test: m checkbuild
Change-Id: Ia4743853a34a9c0d315663959eac0dcd0fdb627b
|
|
desugar""
This reverts commit 67e182a0a1c1d59b5fa107a42ba3bacdc7255eba.
Bug: 70415451
Test: m checkbuild
Change-Id: I87e967894b53b0f18defc48868e4e3b8181ddd33
|
|
RELNOTES: None.
PiperOrigin-RevId: 179425421
GitOrigin-RevId: 094caa508fa74081d861e9e8f8eb50934811bf65
Change-Id: I9019cbd3802e7d74c61cc9bb8af9a7ff9bc05e2c
|
|
RELNOTES: None.
PiperOrigin-RevId: 179245378
GitOrigin-RevId: dd6f8298529f05372d9c0c31eabf19f69d38b22e
Change-Id: Iaf61b5eec2bc3f050a3aada9532e8bb3d03d723f
|
|
happens during visit()
RELNOTES: None.
PiperOrigin-RevId: 179115377
GitOrigin-RevId: 02f05cbbcaf2f6748525bc53469689b92a4be936
Change-Id: I9704b3dbf3ab6f9bdfcda0a1c864ee7668240f76
|
|
Change-Id: I7586933deacf40ba25481c68237285f153c60d25
|
|
am: 67e182a0a1 am: d9074776c9
am: 4552d61047
Change-Id: I91c44faaf7898507b15835b32b7860fb448671c2
|
|
am: 67e182a0a1
am: d9074776c9
Change-Id: I75ef138192f82e91d1a3d27d47800af03fe1808b
|
|
am: 67e182a0a1
Change-Id: I74aaa1a32094f8a2e8364d1334f68ade73566894
|
|
This reverts commit 28068806fa84995d3bd0f9aa448058c1d55cce36.
Reason for revert: Caused "Too many open files" errors.
Bug: 70415451
Change-Id: I2186e7eb5dd1501fe1c1c9c2f1fb1f1b6df2cc24
|
|
28068806fa am: 6b2f3e8f0f
am: 970766bc54
Change-Id: I64daa5e6eb1809f2f67a49f78dbc491610d84eb5
|
|
am: 6b2f3e8f0f
Change-Id: Ie9cb7954709cdb7388a3c6731a834797d4d38059
|
|
am: 28068806fa
Change-Id: I80f75b80ada6ee035fc2768b1831b2c122b37cdd
|
|
* aosp/upstream-master:
make desugar resilient to unrelated lambdas being dumped while it runs RELNOTES: None.
Correct stack map frame computation. When visiting CHOP Frame (discarding n local local variables), the current implementation deletes n local slots, which is wrong when the local variable to delete is of type category 2.
Bug: 70415451
Test: m checkbuild
Change-Id: Iadc6396e3154261f6de83a725a3a16939253e1b1
|
|
RELNOTES: None.
PiperOrigin-RevId: 178952440
GitOrigin-RevId: 817b535d92ee7fdb4740e2a99505ab10d4b54a0d
Change-Id: I1cffc3b930289b86c097414b5aba6a697e4d4e74
|
|
local local variables), the current implementation deletes n local slots, which is wrong when the local variable to delete is of type category 2.
This CL deletes local variables instead of local slots.
Another change is using the Label objects to identify uninitialized values, instead of the offsets of labels, because the offsets of labels might not be computed.
RELNOTES:n/a.
PiperOrigin-RevId: 178762969
GitOrigin-RevId: 770b1779dfd4e673e1523bc7e6f1772d4f4dfc04
Change-Id: Ib1ae1a813a51649d5d9522bdf393f48e56432b66
|
|
Change-Id: Iae7aba491232c2765c5a451fccf62bcabd63c409
|
|
am: e128c69f6c
Change-Id: I6f3dfad801596be8b59d757361199231bd2ce397
|
|
am: b6420c30b5
Change-Id: I38f22dbfae7e12ef4d8cb6f88f2cd32e539be01d
|
|
am: 6174695ef9
Change-Id: I2e3c41166686c3a581e6eca781f87284ea104929
|
|
00ed747d46 am: e893545a77
am: c7db50bb3f
Change-Id: I6ebf8d448345d5d491a7d159e64a78742932c779
|
|
am: e893545a77
Change-Id: I27f8b386aab61d169e210fefa122c25dca437d81
|
|
am: 00ed747d46
Change-Id: I7d6ad99a178a6ee94537b677402c2d09d9c57ac0
|
|
Bug: 70348808
Test: none
Change-Id: Ia1ddceee436ac0c8588b61721df1a872ad31d6b0
|
|
* aosp/upstream-master:
Improve exception message to output more information. RELNOTES:None.
Remove static import of inner class InferredType's fields
Automatic code cleanup.
Let to push lambda arguments not only with *LOAD instructions but with SIPUSH and *CONST_*.
Fix canonical option list for options that implicitly require options with allowMultiple=true
Change config expansion application order, gated by startup flag --expand_configs_in_place.
Specialize $closeResource(Throwable, AutoCloseable) so that desugared code does not depend on AutoCloseable, as it is not available before API 19.
Fix EnclosingMethod attribute when moving interface methods to companion class RELNOTES: None.
Cleanup stream use in canonical list of options.
Remove unused LegacyParamsFilePreProcessor. Removed test cases from OptionsParserTest are implemented in ParamsFilePreProcessorTest, ShellQuotedParamsFilePreProcessorTest and UnquotedParamsFilePreProcessorTest.
Switch on tracking of specific option priorities.
Compute canonical list of options using OptionValueDescription's tracking of instances.
Test: m checkbuild
Change-Id: Idb762b0dabc9660d9116d1b976fb2f74aa7f5e09
|
|
RELNOTES:None.
PiperOrigin-RevId: 177875613
GitOrigin-RevId: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Change-Id: Id8e000ab3d3ef7b35cfa008e5a84b130e0e79e57
|
|
A few of the InferredType's fields were being static imported, but not all of them, and the use of the statically imported fields was inconsistent. Statically importing the inner class causes strange errors when building desugar in the Android platform build with OpenJDK8, but not OpenJDK9:
external/desugar/java/com/google/devtools/build/android/desugar/BytecodeTypeInference.java:1015: error: cannot find symbol
@AutoValue
^
symbol: class AutoValue
location: class BytecodeTypeInference
1 error
Remove the static imports to make the build work and to make the usage consistent.
RELNOTES:None.
PiperOrigin-RevId: 177875501
GitOrigin-RevId: b0fb55ad19e4751b61cbbf79ba60748b6e594100
Change-Id: I0c467abeeaac31fad138c7e2a90535740e68e8e9
|
|
PiperOrigin-RevId: 177261837
GitOrigin-RevId: 85d69f2397d7b54fa8b8c69b7bc9ec6d36cb1d49
Change-Id: Iab3521ac7d7a5c1340ba85fa036686a622f1065e
|
|
SIPUSH and *CONST_*.
RELNOTES: None
PiperOrigin-RevId: 177149410
GitOrigin-RevId: af10f2a83bdda8406a8c0a012db6d38e19d022b0
Change-Id: Ica86f3606d70b1cd25e336eb2cce5e369138ba76
|
|
allowMultiple=true
Was filtering for the implicit options in SingleOptionValue, but forgot the check in RepeatableOptionValue. This is now fixed.
RELNOTES: None.
PiperOrigin-RevId: 176669853
GitOrigin-RevId: d55acc31ec7c731481a3691e6cf91c53869e9c67
Change-Id: I22d16447e5ad977ec890008e25be4d396a2523ed
|
|
--expand_configs_in_place.
--config options were expanded in a fix-point expansion, where in practice, the flags that --config values expanded to ended up between the normal bazelrc options and the command line's explicit options. Since the options parser has an order-based priority scheme and it accepts multiple mentions of a single-valued option, this conflicts with users' expectations of being able to override these config expansions by using the order in which they are mentioned.
This change makes it possible to expand the config values defined in your bazelrc (or blazerc) files to occur in-place: --stuff --config=something --laterstuff will interpret the options that --config=something expands to as if they had been mentioned explicitly between --stuff and --laterstuff.
In order to not break users relying on complex flag combinations to configure their builds, this behavior will not yet be turned on by default. Instead, use --expand_configs_in_place as a startup flag to test this feature. --announce_rc may be helpful for debugging any differences between the fixed point and in-place expansions. Once you've debugged your problems, add "startup --expand_configs_in_place" to your blazerc to stick to the new behavior.
RELNOTES: Use --expand_configs_in_place as a startup argument to change the order in which --config expansions are interpreted.
PiperOrigin-RevId: 176371289
GitOrigin-RevId: 6364017ef95353969a8297c99a07c2a52102d9cc
Change-Id: Id8b305db7a336132ee157cd0998330333888a139
|
|
does not depend on AutoCloseable, as it is not available before API 19.
This CL includes the following:
1. A type inference algorithm based on ASM. It relies on the stack map frames to compute type information at the entry of basic blocks.
2. The type inference is used to infer the types of the resources to be closed. Then for each concrete resource type, we specialize the synthetic $closeResource method to $closeResource(Throwable, <concrete resource type>).
RELNOTES: None
PiperOrigin-RevId: 175731437
GitOrigin-RevId: e83f3b1fb010298cbe1e16e5f7f2f39bfb045cef
Change-Id: I347f8e4058a191621fb21bf2e81d7cf8f39ce6aa
|
|
RELNOTES: None.
PiperOrigin-RevId: 175613518
GitOrigin-RevId: f581da7375d8548ffaac61ead74cdc3519eeb5b2
Change-Id: I2333812920923fa8050022b8f482e139c37f9027
|
|
Follow up to https://github.com/bazelbuild/bazel/commit/c50cd13c75a2a1685f5ac9bd70561ac1e50722e7
RELNOTES: None.
PiperOrigin-RevId: 174498205
GitOrigin-RevId: fecf464ec3bf2593e31fa6cd25a45ce149c2dd75
Change-Id: Ife1674dc14b8276510df9730e84416863b79a59f
|
|
OptionsParserTest are implemented in ParamsFilePreProcessorTest, ShellQuotedParamsFilePreProcessorTest and UnquotedParamsFilePreProcessorTest.
RELNOTES: None.
PiperOrigin-RevId: 174359569
GitOrigin-RevId: 1ce985a704357c35d6691a80d94ca55372593b16
Change-Id: Ibc27b64d110861b1a2248227e1d59e4bc7fee953
|
|
Make sure that multiple calls to parse() follow each other sequentially. This is necessary for blazerc expansion, which occurs first in command order, then blazerc order.
RELNOTES: None.
PiperOrigin-RevId: 174343241
GitOrigin-RevId: 4871bf7f50dc889985ae25102c3fb9de869b50bc
Change-Id: Ieaa99adffd4d7f33167b18635641d4d3439d5a64
|
|
instances.
Stop storing the canonical list of arguments separately. For the canonicalize-flags command, we want to avoid showing options that either have no values in their own right (such as expansion options and wrapper options) and instances of options that did not make it to the final value. This is work we already do in OptionValueDescription, so we can generate the canonical form from the values tracked there, instead of tracking it separately.
This means the canonical list is more correct where implicit requirements are concerned: implicit requirements are not listed in the canonical form, but now the values they overwrote will be correctly absent as well.
Use this improved list for the effective command line published to the BEP.
RELNOTES: Published command lines should have improved lists of effective options.
PiperOrigin-RevId: 173873154
GitOrigin-RevId: c50cd13c75a2a1685f5ac9bd70561ac1e50722e7
Change-Id: I9c6802dc3ab1e263048862f931f0c5f4933576ae
|
|
Change-Id: Ic92f06a913e0264635a5705ed0cc681301afc09f
|
|
am: 93d7facd1b
Change-Id: Idc2f73a13852597650fde6a00198450154a2ca7e
|
|
Change-Id: Icefa18f1a9276657ec620b4850b94f6834d72f09
|
|
Change-Id: I1aa282cfe76618a4a72cc50b899aa584f058da19
|
|
Change-Id: I2f46ad71f0f9c090611cc3596f1947dec2b2aa3a
|
|
bc20f321cd am: 2a4a26af86
am: fb6ba24633
Change-Id: I8c89cf7bd3e9745da06326d71ef68c26cff44bc2
|