summaryrefslogtreecommitdiffstats
path: root/jack-tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix number literal conversion in array initializersYohann Roussel2014-09-121-0/+58
| |/ | | | | | | Change-Id: I6bcf8a270c45fbb9c06cf062742c75694817fdb4
* | Merge "Fix illegal code generation of TryWithResourcesTransformer" into ub-jackMikael Peltier2014-09-112-0/+29
|\ \ | |/ |/|
| * Fix illegal code generation of TryWithResourcesTransformerYohann Roussel2014-09-112-0/+29
| | | | | | | | | | | | | | | | | | | | - Add a test for try with resources that exhibit illegal code generation. - Add generation of throw instruction to have correct java code at compile time. Bug: 17389106 Change-Id: I451adb03917b5908faf2a7730990c474009706d2
* | Merge "A test for phantom lookup conflicting with defined type." into ub-jackYohann Roussel2014-09-094-1/+74
|\ \
| * | A test for phantom lookup conflicting with defined type.Yohann Roussel2014-09-094-1/+74
| | | | | | | | | | | | Change-Id: I264614217ba3b4351a86acac8db50351bfc9d1f8
* | | Merge "Add support for unboxing Object in explicit cast." into ub-jackYohann Roussel2014-09-091-2/+1
|\ \ \
| * | | Add support for unboxing Object in explicit cast.Yohann Roussel2014-09-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ie add support for (int)(Object) new Integer(1) which is legal since java 1.7. Bug: 17371016 Change-Id: If3e0fe5862d2c01de8bd027b175440549289d4e3
* | | | Merge "A test about class with missing inner in the classpath." into ub-jackYohann Roussel2014-09-092-0/+57
|\ \ \ \ | |_|/ / |/| | |
| * | | A test about class with missing inner in the classpath.Yohann Roussel2014-09-042-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An inner class class was deleted from the classpath but only the Enclosing class is referenced so there should be no problem compiling. Change-Id: I124c429015dd811df721e9260c349506b17af830
* | | | JArrrayLiteral should always be given a modifiable List.Yohann Roussel2014-09-053-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 17364025 Change-Id: Ifb326f703f3dc860d85ef36df0c0f8f68b57835b
* | | | Merge "A test unboxing an Object to int." into ub-jackYohann Roussel2014-09-054-1/+77
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| |
| * | A test unboxing an Object to int.Yohann Roussel2014-09-054-1/+77
| |/ | | | | | | | | | | This is legal as of java7 but not yet supported by jack. Change-Id: If23bc190f7c4fc9e4c12b1bc9c01773a934d199c
* | Fix Preprocessor and Multidex testsBenoit Lamarche2014-09-042-0/+63
|/ | | | Change-Id: If62d7b07b5a57132f2d63ad7cc101c24aeb82172
* Emit multidex.Yohann Roussel2014-09-02123-0/+323152
| | | | Change-Id: Id1e494a60635c0694c8f6b985d1a0e1248d6db03
* Fix PreProcessor grammarBenoit Lamarche2014-09-011-1/+1
| | | | | | Also fixes a preprocessor file in a test. Change-Id: Ic90aa96dfcf9eb3570baa8c32960c964486cc020
* Merge "MultiDex tracing." into ub-jackBenoit Lamarche2014-08-281-0/+3
|\
| * MultiDex tracing.Yohann Roussel2014-08-281-0/+3
| | | | | | | | Change-Id: I3c875ef53b8255191999e859350c2f9ea7d846f4
* | Address comments in PreProcessor grammarBenoit Lamarche2014-08-284-7/+7
|/ | | | Change-Id: If237db7d074315c280c1ffa6cfcb89772f0eb41f
* Fix PreProcessor names and configurationBenoit Lamarche2014-08-2710-46/+46
| | | | Change-Id: I4cd34c2b72a3accd41e01a4bd906004a44306f6f
* Add initial annotation adder support.Yohann Roussel2014-08-279-0/+231
| | | | | | | Supports only a reduced set of the syntax sufficient for providing multidex tracing configuration. Change-Id: Ibebadbf548f4efe6f5d5e147dad171e887308d6b
* Fix bad assertionmikaelpeltier2014-08-262-2/+2
| | | | | | | - Update a shrob test to be compliant with the mapping format defined into applyMapping method of MappingApplier. Change-Id: Ic45a70f207812884f7653d2eb76124a3a735d74c
* -o option is no longer a file but a foldermikaelpeltier2014-07-292-11/+13
| | | | Change-Id: I46702a101e0d42015943e34e91008cd9a18331c6
* Merge "Do not align 64-bit registers during instruction expansion" into ub-jackmikaelpeltier2014-07-233-0/+66
|\
| * Do not align 64-bit registers during instruction expansionmikaelpeltier2014-07-283-0/+66
| | | | | | | | | | | | | | | | - The reordering performs during instruction expansion is not correct for all instructions, in particular for xxx/range instructions that require sequential registers. Change-Id: Ia06ddc74b95f656060ac6929b30eb2967ec2e48a
* | Update Junit library used into jack-testsmikaelpeltier2014-07-281-1/+1
|/ | | | | | | | - junit4.jar must be used instead of junit4-lib.jar, otherwise running a junit from the jack-tests project will fail under eclipse since hamcrest classes do not exist into junit4-lib.jar. Change-Id: Ie91aa05d065d5074e07d2d51fc8478fde3716acb
* Add new tests related to useless castmikaelpeltier2014-06-278-0/+198
| | | | Change-Id: Ic7084f7a38c3ea7d75a26abf3d63346ce54f858a
* Add code formatter to jack-testsBenoit Lamarche2014-06-272-2/+330
| | | | Change-Id: I885304de12e1438f6ee2fff3109a2549880935ce
* Exclude big classes from source pathmikaelpeltier2014-06-251-1/+1
| | | | Change-Id: Ie2abd10497f740b48f35e4670c0a3c13f6d3139b
* Method cache into ReferenceMapper is underusedmikaelpeltier2014-06-231-0/+130018
| | | | | | | - Modify the method cache usage can divide compile time by 9 when compiling the source file ClassWithLotOfMethods.java. Change-Id: I47231a837c8d538bf3f39dd9f468779a3414fea3
* Field cache into ReferenceMapper is underusedmikaelpeltier2014-06-231-0/+65019
| | | | | | | - Modify the field cache usage can divide compile time by 4 when compiling the source file ClassWithLotOfFields.java Change-Id: I484c375119eadc1ff2ded0955b689fa35fea9644
* Added support for resource content adaptation while obfuscating.delphinemartin2014-06-192-9/+20
| | | | | | | | | | When a type name is present in a resource, a shrobbing option is available to replace the type name by its obfuscated name. A new VFile was added to represent the modified resources. + updated resource tests to allow resources with multiple lines and modified test003. Change-Id: I1053c10bae41e4dc4280998967d5a656d0af388d
* Change Shrinking and obfuscation behavior depending on seedsdelphinemartin2014-06-0624-28/+51
| | | | | | | Use the SeedFinder markers as starting point for shrinking and obfuscation tracing. Change-Id: I4a3aecd89edf80fe71a931e14cee5aa4638040e4
* Merge "Added possibility to search the hierarchy while finding seeds." into ↵delphinemartin2014-06-0610-0/+66
|\ | | | | | | jack-wip-dev
| * Added possibility to search the hierarchy while finding seeds.delphinemartin2014-06-0610-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When a class specification is matched and we are searching for member matching the member specification, we now have the possibility (using a property) to search also in the superclasses of the matches class. This patch does not change Shrinking and obfuscation behavior but only the printing of seeds. Bug: 12026809 Change-Id: I93699475e47f9de2501c463c8d96635b26e97853
* | Change eclipse setting to point to libs and tools generated by ant.Jean-Marie Henaff2014-06-031-1/+1
| | | | | | | | Change-Id: I8733b091f88ff333d7de1db9eb5485f796e6051a
* | Added failing shrob test with successive reflection calls.delphinemartin2014-05-2611-0/+99
| | | | | | | | | | | | This is a test for the feature request 15258905. Change-Id: I28d9a1c7d78abda43aa18fed12fb1057310bc43e
* | Added missing mappings and listings parts in test040delphinemartin2014-05-226-0/+79
| | | | | | | | | | | | This should fix test-jack-long Change-Id: Ib538187d3fa28dd83d72a0b591cc131f9490e826
* | Add forgotten files for test bridge 008mikaelpeltier2014-05-163-0/+70
| | | | | | | | Change-Id: I61b575adb744f26d30d7ecee78ec3916eb4a005b
* | Modify script used to run jack tests with artmikaelpeltier2014-05-151-1/+1
| | | | | | | | Change-Id: Ib1f42996f41fa978cfaee1bda2c3d04dc8f7eb80
* | Merge "Added new annotation test with various value types." into jack-wip-devdelphinemartin2014-05-1520-0/+433
|\ \
| * | Added new annotation test with various value types.delphinemartin2014-05-1320-0/+433
| | | | | | | | | | | | | | | | | | This was adapted from I828c92f0e382dc984b6462fab710f414138e7e02 Change-Id: I9b888a2e45b931433cac740647f72132e3175833
* | | Add a test that fails when using Ecj, Jill and Jackmikaelpeltier2014-05-143-0/+59
| | | | | | | | | | | | Change-Id: I6e6e9abb261555716f936cc3e2a3d21fd7f9d8e9
* | | Add test for resource content adaptationdelphinemartin2014-04-284-0/+38
|/ / | | | | | | Change-Id: I7744691c33920b6b46faa204fe9804ff7cb301e9
* | Added failing shrob test with an annotation whose value is not kept.delphinemartin2014-04-2513-0/+137
| | | | | | | | Change-Id: I1fac26733337418abea2c5f2b8cc7419ed63b246
* | Merge "Test compiling outer and inner separately." into jack-wip-devYohann Roussel2014-04-187-0/+88
|\ \
| * | Test compiling outer and inner separately.Yohann Roussel2014-04-187-0/+88
| | | | | | | | | | | | Change-Id: I5375cebe630bfeeb4f442e1f675dfda5e5545a03
* | | Merge "Fixed bug with keepclassesmembernames" into jack-wip-devdelphinemartin2014-04-176-49/+33
|\ \ \ | |/ / |/| |
| * | Fixed bug with keepclassesmembernamesdelphinemartin2014-04-086-49/+33
| | | | | | | | | | | | | | | | | | | | | | | | keepclassmembernames rules should be applied even if the name of the class in not kept (which is different from the Keeper) + updated runtime test016 Change-Id: I566865390349581fa07d072240e6d9ffccb69bc8
* | | Modify FileConflict.test004 to use the Rot13NameProviderdelphinemartin2014-04-141-1/+0
| |/ |/| | | | | | | | | | | | | - -flattenpackage was removed since it was not necessary and not working well with the Rot13NameProvider + added default bootclasspath when shrobbing Change-Id: Id74366d06e29256fd87a6f8d9bfdc5902bc6bebd
* | Merge "Add FileConflictTest" into jack-wip-devBenoit Lamarche2014-04-1418-0/+198
|\ \