Nikolay Krasko
55e551c03a
Update after separating JPS builders into two modules
...
Original commit: 95061885b0
2017-03-20 18:45:35 +01:00
Alexey Tsvetkov
efc1164489
JPS: implement tracking of null annotations
...
#KT-12933 fixed
#KT-14266 fixed
Original commit: 05f278ce20
2017-03-20 18:45:21 +01:00
Dmitry Jemerov
efd8357035
fix compilation against branch 163
...
Original commit: a2b0b3d6eb
2017-03-20 18:45:15 +01:00
Alexander Udalov
ff0438b38a
JS: support -Xskip-metadata-version-check for incompatible ABI libraries
...
Allow the compiler to read such libraries without any errors, at the
risk of crashing with an exception.
Also fix a minor bug in the diagnostic message in LibrarySourcesConfig
and in the corresponding test in KotlinJpsBuildTest
Original commit: bf90cb5cc0
2017-03-20 17:22:29 +03:00
Mikhail Glukhikh
f307821704
Cleanup: fix some compiler warnings (mostly deprecations, javaClass)
...
Original commit: b121bf8802
2017-03-15 17:35:31 +03:00
Anton Bannykh
07691e369a
JPS JS: simplified the code and added tests for the missing meta.js case (e.g. empty sourceroot; fixed by yole in 00ed0248d9a23701dbef52da02259d174a9999e7)
...
Original commit: 6608e97d35
2017-02-28 16:05:16 +03:00
Alexander Udalov
9558f5188a
Move testable IS_PRE_RELEASE flag to KotlinCompilerVersion
...
It'll be used in the JS back-end as well soon, so
DeserializedDescriptorResolver is not the best place for it
Original commit: 4c9afb9d20
2017-02-13 12:11:15 +03:00
Alexey Andreev
b4086fe033
JS: drop support of old library format
...
Original commit: 7192529733
2017-02-10 21:04:50 +03:00
Anton Bannykh
81ab76ade8
JPS: fixed duplicate meta.js in case of multiple source roots in the same module.
...
Original commit: f0e3c87b84
2017-02-03 13:03:12 +03:00
Anton Bannykh
36035c789a
JS: fixed support for test source roots (KT-6627)
...
Original commit: 289a7a9cc3
2017-02-03 13:03:12 +03:00
Alexander Udalov
0ac040e130
JS: drop "-kjsm" flag, merge logic with "-meta-info"
...
#KT-16049 Fixed
Original commit: e5680565b3
2017-01-30 11:31:03 +03:00
Alexey Tsvetkov
9f8ba45853
Rebuild all kotlin files when EAP flag is changed
...
Original commit: b9dbe69232
2017-01-26 13:38:52 +03:00
Alexey Tsvetkov
84691965cb
Save JvmBuildMetaInfo to file after build
...
Original commit: 4a63e47aa0
2017-01-26 13:38:52 +03:00
Denis Zharkov
411745f260
Write kotlin metadata on class-files for coroutine state machines
...
Otherwise it breaks JPS assumptions, that leads to exceptions like:
Error:Kotlin: [Internal Error] java.lang.AssertionError: Couldn't load KotlinClass from /Users/jetbrains/IdeaProjects/KotlinPlaygroundBeta11/out/production/KotlinPlaygroundBeta11/Counter$both$1.class; it may happen because class doesn't have valid Kotlin annotations
at org.jetbrains.kotlin.build.GeneratedJvmClass.<init>(generatedFiles.kt:36)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.getGeneratedFiles(KotlinBuilder.kt:469)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.doBuild(KotlinBuilder.kt:241)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.build(KotlinBuilder.kt:140)
...
Original commit: 9f217de10b
2017-01-16 17:53:15 +03:00
Mikhail Zarechenskiy
e389963e21
Update year in license and regenerate tests
...
Original commit: 6cccad9647
2017-01-10 12:01:17 +03:00
Alexey Tsvetkov
7ed13b9ecd
Minor: add Throws(Exception) to avoid override issues in java
...
Original commit: 18d50b930d
2016-11-18 23:17:34 +03:00
Alexey Tsvetkov
765f02f9ac
Ensure jps caches are always cleared in tests
...
Original commit: ea93ec3eec
2016-11-18 23:17:30 +03:00
Zalim Bashorov
77149c97f1
Regenerate tests
...
Original commit: 1dedb38481
2016-11-09 21:41:12 +03:00
Alexander Udalov
618b484874
Add mock runtime to KotlinJpsBuildTest test cases
...
To prevent test failures once the JVM compiler stops loading definitions of
built-in declarations from itself and starts to rely on their presence in the
library, that the compiled source code depends on
Original commit: 0b59c71340
2016-10-26 16:31:07 +03:00
Alexander Udalov
be828cd3cf
Fix incremental recompilation of JvmMultifileClass with top level function
...
See 7a679eb and previous changes where this behavior was broken (this was
untested, however). Fixes EA-90065
Original commit: 7b2a80ffa4
2016-10-19 12:50:10 +03:00
Michael Bogdanov
c5d50ce6d7
Fix for KT-14012: Back-end (JVM) Internal error every first compilation after the source code change
...
#KT-14012 Fixed
Original commit: d48ef2efc7
2016-10-18 10:46:51 +03:00
Zalim Bashorov
8e0160b876
JPS: don't consider that the module is not Kotlin JS until check all libraries.
...
#KT-14082 Fixed
Original commit: 797f7ab28e
2016-09-29 14:52:51 +03:00
Dmitry Jemerov
39740c3411
delete work dir after each JPS test
...
Original commit: b315a07f0d
2016-07-18 16:52:16 +02:00
Denis Zharkov
993493dcc4
Support type aliases in incremental compilation
...
#KT-12871 Fixed
Original commit: efe718602a
2016-06-28 16:22:08 +03:00
Alexey Andreev
fc54e12f27
KT-3008 Fix CLI and JPS tests related to JS translator
...
Original commit: a9ed789727
2016-06-27 15:33:28 +03:00
Mikhael Bogdanov
babb4ddf87
Inline properties support in incremental compilation
...
Original commit: a090133581
2016-06-24 17:05:53 +03:00
Zalim Bashorov
7e1baf1a69
JPS: don't consider that production target of module "B" is depends on test target of module "A" when "B" depends on "A"
...
#KT-12595 Fixed
Original commit: 0e428ca10c
2016-06-15 15:01:32 +03:00
Denis Zharkov
f5b81b7935
Preserve sources properly for coroutine parts
...
Otherwise incremental reporting leads to exception when inlining into coroutine body happens
Original commit: 07592398c1
2016-06-08 18:53:16 +03:00
Zalim Bashorov
26ed20a54b
Minor: add test for KT-11993 "NoSuchMethodError when testing internal symbols"
...
Original commit: c11d504a26
2016-05-05 20:45:29 +03:00
Valentin Kipyatkov
38e2b1c91e
Code cleanup: removed redundant semicolons
...
Original commit: b551886889
2016-04-29 11:26:25 +03:00
Alexander Udalov
f1fcde7670
Do not store project in JPS tests after they're executed
...
This saves a couple dozen megabytes currently
Original commit: 2df8e56b94
2016-04-18 17:26:59 +03:00
Nikolay Krasko
6666fa1c77
Workaround for building against jars from both JDK 6 and JDK 8 on TeamCity
...
Original commit: 0cf1c8d900
2016-04-12 14:53:20 +03:00
Zalim Bashorov
6e4d8d1670
IC: take into account added and removed classes when calculate affected names
...
Original commit: 51c6abdbed
2016-04-11 19:26:18 +03:00
Nikolay Krasko
e18a666440
Extract tests-common module without any actual tests
...
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
Original commit: 47c7181f2a
2016-04-08 17:40:38 +03:00
Zalim Bashorov
72debcd1f2
IC: improve logging in tests and fix DataContainerVersionChangedTestGenerated#testWithError
...
Test logging improvements:
* print which chunk building in the round for multimodule projects
* print actions after cache changed
Original commit: f5ca949f2c
2016-04-08 13:45:37 +03:00
Nikolay Krasko
b2f2fb1f18
Fix bad test modification
...
Original commit: 9e88db7e58
2016-04-06 21:46:02 +03:00
Nikolay Krasko
72b18cd2e8
Extract jps-tests to separate module
...
Remove dependency to idea-full to build jps-plugin with Java 1.6
Original commit: 46b5305666
2016-04-05 00:39:46 +03:00