Evgeny Gerashchenko
5bb5fe0c49
KT-6586 accessing Kotlin class static class object variable's value from Java does not properly update between compiles
...
#KT-6586 fixed
Original commit: d1a2fd9c66
2015-02-18 13:37:34 +03:00
Alexander Udalov
ce38b4c43f
Serialize descriptors for local/anonymous classes on JVM
...
Reflection needs this information to work for local classes and anonymous
objects
Original commit: 6ce8d6bd2e
2015-02-16 21:46:21 +03:00
Pavel V. Talanov
19499caee0
Update test data that mentioned old JvmAbi constants
...
Original commit: a1f4c06a49
2015-02-16 15:38:34 +03:00
Evgeny Gerashchenko
c7a26e4522
Reverted wrong test data for tests where files are added to package. Let them fail.
...
Original commit: 1a486bf969
2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko
8d02c74ddd
Correctly processing disappeared protos, files with constants/inline function.
...
Original commit: c5593a5b80
2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko
143ab5dad2
Simplified process of filtering out obsolete package parts and loading descriptors from incremental caches.
...
Now when file is deleted or dirty (compiled right now), its old package part is used. Current package of file doesn't matter.
Original commit: f071802e19
2015-02-06 17:44:39 +03:00
Evgeny Gerashchenko
09715786fe
Minor. Swapped test data. "other" and "same" packages were confused.
...
Original commit: c1b6e3a63d
2015-01-30 14:01:33 +03:00
Evgeny Gerashchenko
fadeb20c5c
Rebuilding dependants fully only when constants/inline functions changed. This is not 100% precise, but it is faster. It is a compromise until we implement preciser incremental compilation.
...
Original commit: c60797e306
2015-01-19 15:36:57 +03:00
Evgeny Gerashchenko
41522a3b65
Rebuilding dependent modules.
...
Original commit: 72687758a5
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
72fdd2c6ba
Test with Java and Kotlin changed simultaneously.
...
Original commit: 00f2ba5124
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
2f3028e45e
Added multi-module tests on incremental compilation.
...
Changing code wasn't required, Java's incremental caches were enough.
Original commit: 967f470b16
2015-01-19 15:36:55 +03:00
Evgeny Gerashchenko
c5bc52a1b0
Updated test data according to changes in IDEA.
...
Original commit: 2b438a286f
2015-01-16 20:19:37 +03:00
Evgeny Gerashchenko
97551f9a11
Updated test data according to JPS. Behavior is still wrong, but it is work in progress on IDEA side.
...
Original commit: c6c3e5a4c6
2014-12-20 15:06:53 +03:00
Michael Nedzelsky
c2c19e70da
do not copy js files from libraries in case of compile errors
...
Original commit: d909a66d4d
2014-12-16 21:37:46 +03:00
Evgeny Gerashchenko
5eba550aef
Added test for KT-6454 Obsolete class-files for lambdas aren't removed from output when 'inline' annotation is added to function.
...
The bug is reproducible only for non-incremental compilation mode, which
will be deprecated soon.
#KT-6454 can't reproduce
Original commit: 7924568355
2014-12-16 16:33:41 +03:00
Evgeny Gerashchenko
3a3e5a547e
Added test checking that we don't create Kotlin incremental caches for targets without Kotlin.
...
Original commit: 8de11e4664
2014-12-15 16:46:27 +03:00
Michael Nedzelsky
a275c81c1e
add tests for jps-plugin (Kotlin Javascript projects)
...
Original commit: bd090d0e5f
2014-12-12 03:04:19 +03:00
Evgeny Gerashchenko
c2f4ed810c
Fixed incremental compilation, when removing all callables from file.
...
Original commit: 4e702e34f0
2014-12-10 14:28:21 +03:00
Evgeny Gerashchenko
2d0b81f97f
Updated test data for tests according to change in JPS.
...
These tests were not deterministic. Now they are. When package facade's sources change (files added to package, etc), all package gets recompiled now. Behavior is tolerable, but not very desirable.
Original commit: 153272a189
2014-12-09 12:08:03 +03:00
Evgeny Gerashchenko
eb8820f549
Compilation errors are rendered to log without "Kotlin:ERROR:" prefix and without path to file. Sometimes javac adds path to file, sometimes doesn't. This had led tests to fail on some platforms.
...
Original commit: 9c880de735
2014-11-26 18:42:24 +03:00
Evgeny Gerashchenko
7c0dde0233
Moved test data into common directory.
...
Original commit: 19ad2406ff
2014-11-26 14:32:12 +03:00
Evgeny Gerashchenko
e491783e86
Fixed case of file name.
...
Original commit: adcd4d4ca0
2014-11-26 14:32:11 +03:00
Michael Bogdanov
e41e37932a
Generate static backing fields for properties in object
...
#KT-4973 Fixed
Original commit: 5412a67d29
2014-11-20 10:20:31 +03:00
Evgeny Gerashchenko
d67423164c
Fixed KNPE when inline functions/constants are completely removed.
...
Original commit: 1a374efcd1
2014-11-12 16:25:01 +03:00
Evgeny Gerashchenko
6917c317ba
Minor. Added test when compilation error is introduced and fixed in other package.
...
Original commit: 155775f925
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
08831faa5c
Committed wrong behavior of Java+Kotlin incremental compilation (Java files recompiled twice).
...
Original commit: 1e2c4659cd
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
8da6c24347
Added tests with redeclaration. The behavior is correct (compilation error), while diagnostic message is not ideal.
...
Original commit: 7f49a8c159
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
e6dd4fac0c
Tests with SAM conversions.
...
Original commit: 21105fcae4
2014-11-07 14:51:59 +03:00
Evgeny Gerashchenko
6447c4183d
Added tests with adding method to superclass.
...
Original commit: 3237791433
2014-11-07 14:51:58 +03:00
Evgeny Gerashchenko
5d93890a84
Tests: converting Java to Kotlin and back.
...
Original commit: 86dd7ec880
2014-11-07 14:51:57 +03:00
Evgeny Gerashchenko
3ce56b01f3
Tests with renamed method, incremental compilation between Kotlin and Java.
...
Original commit: 335c3f4506
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
9c8276c9fa
Tests with constants, incremental compilation between Kotlin and Java.
...
Original commit: 9234ef3803
2014-11-07 14:51:54 +03:00
Evgeny Gerashchenko
66cd592fd2
Initial support for kotlin-java interop in incremental compilation.
...
Original commit: 70331e3b82
2014-11-07 14:51:53 +03:00
Evgeny Gerashchenko
414caba4ef
Minor. Expanded test.
...
Original commit: 0f8dd59bcf
2014-11-07 14:51:51 +03:00
Evgeny Gerashchenko
07d79c88f5
Added incremental cache format versioning.
...
Original commit: 954a011721
2014-10-16 22:01:45 +04:00
Alexander Udalov
1a02eb4c6c
Include package part name to top level closure names
...
#KT-4234 Fixed
#KT-4496 Fixed
Original commit: c30aa7db84
2014-09-26 10:22:25 +04:00
Alexander Udalov
9c8ee4eae6
Use '$' instead of '-' in package part class names
...
Otherwise some tools break (e.g. CheckMethodAdapter in ASM, used in generic
signature writer) because they expect class names to be Java identifiers.
Some tests fixed, some will be fixed in future commits
Original commit: c57441b51b
2014-09-26 10:22:20 +04:00
Evgeny Gerashchenko
f971cc5f97
Fix: not loading ancestor packages from incremental cache.
...
Original commit: b435904d7f
2014-09-24 16:31:47 +04:00
Evgeny Gerashchenko
001bf06136
Not clearing incremental cache on compilation error.
...
Original commit: 853def0a10
2014-09-18 16:50:20 +04:00
Evgeny Gerashchenko
803d52a36d
Supported methods with default arguments in partial package compilation.
...
Original commit: 35720ff46d
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
81fabc90f9
Fixed redeclaration from incremental compilation. Added workaround for JPS bug.
...
Original commit: 3226093fa6
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
48c9728e70
Moved current incremental compiler test data into subdirectory.
...
Tweaked test generator to avoid creating test methods for parent directory of tests.
Original commit: 479711e812
2014-07-10 15:05:20 +04:00
Evgeny Gerashchenko
fd8cff1f53
Ignoring not static final fields.
...
Added tests with class object of trait and val inside object.
Original commit: 42cba1cc3c
2014-07-07 17:41:39 +04:00
Evgeny Gerashchenko
5e0ae6481d
Merged tests with inline functions in class and in package.
...
Now this test also checks situation when several class files with inline functions are emitted from one source file.
Original commit: f8ac8f727e
2014-07-07 17:41:38 +04:00
Evgeny Gerashchenko
0fe80fdb5b
Expanded test with constants unchanged. Now it has class-level and package-level constants mixed in one file.
...
Original commit: ca647a9ff4
2014-07-07 17:41:38 +04:00
Evgeny Gerashchenko
269ad88f78
Added test with constant in class object.
...
Original commit: 11af8ed616
2014-07-07 17:41:37 +04:00
Evgeny Gerashchenko
2f72958d25
Inline function changed – rebuild all chunk.
...
Original commit: aa9f7a73c9
2014-07-07 17:41:36 +04:00
Evgeny Gerashchenko
1e3b4ddc32
Supported inlining functions which access properties via field.
...
Original commit: 7ef5c75f26
2014-07-07 17:41:36 +04:00
Evgeny Gerashchenko
1f91c2b724
Preserving annotations in incremental compilation.
...
Original commit: 2259cc605f
2014-07-07 17:41:35 +04:00
Evgeny Gerashchenko
bf5c65bef6
Basic detection for bytecode of inline functions in incremental compilation.
...
Basic rule is: bytecode of inline function changed -> recompile everything.
Original commit: 6c8a9ba378
2014-07-07 17:41:35 +04:00