Commit Graph
66 Commits
Author SHA1 Message Date
Roman Shevchenko f584a77993 [java] always includes module-info.java into compilation 2016-08-31 20:17:49 +03:00
Eugene Zhuravlev 42947cdc2a AnnotationsChangeTracker extension tests 2016-08-08 23:13:29 +02:00
Eugene Zhuravlev 5437898e57 store annotation info for fields and methods in dependency cache;
supported array values in annotation defaults
2016-07-22 13:49:53 +02:00
Eugene Zhuravlev 52436089d9 do not mark for recompilation files that depend on the files compiled with errors 2016-05-19 15:09:42 +02:00
Eugene Zhuravlev ba90cfbd86 IDEA-154389 Remove and restore superclass leads to wrong state of ClassToSubclasses mappings 2016-04-21 19:42:31 +02:00
Eugene Zhuravlev 97353e5f34 Integration of changes after switching to non-incremental mode may cause incorrect state of build storages (IDEA-154405 ) 2016-04-20 13:52:51 +02:00
Nikolay.Tropin d0466d5fc0 add generic bound usage for type argument only if it is a bounded wildcard 2015-12-01 16:37:17 +03:00
Eugene Zhuravlev 2e2d02473d when parsing signatures, create GenericBoundUsage only for classes mentioned in signature bounds;
mark dependencies caused by GenericBoundUsage only in chunk being compiled and all chunks that depend on it recursively
2015-08-10 12:27:31 +02:00
Eugene Zhuravlev 0504e11398 method refs and invokeDynamic bytecode parsing to register corresponding dependencies correctly (IDEA-137568) 2015-03-20 21:02:33 +01:00
nik 9421b80596 external build: fixed problem with files remaining dirty after 'Make Project' 2014-12-11 12:40:30 +03:00
Evgeny Gerashchenko 7df61e39ce Not marking whole target as dirty when it was already marked so.
This should be cherry-picked into branch 139 as extra method variant
2014-12-01 11:35:35 +03:00
Eugene Zhuravlev 4d13fc7826 do not schedule unnecessary recompilation on duplicate-class check;
fix data loss in classToSourceFile mapping after moving top-level class from one file to another file
2014-11-25 15:51:22 +01:00
Eugene Zhuravlev cbe9ffa94a correct test data, so that the test checks the make rule it was intended to verify 2014-11-10 23:02:08 +01:00
Eugene Zhuravlev 5ec5fe4885 when processing dependencies on deleted classes, do not affect already compiled files 2014-11-04 17:29:02 +01:00
Eugene Zhuravlev 5842f4f6f4 recompile classes with potentially ambiguous method calls when vararg method is added 2014-10-29 17:18:44 +01:00
Eugene Zhuravlev f4168e6fda test for non-compile-time constant access change 2014-10-17 19:40:52 +02:00
Eugene Zhuravlev f7e78891bb make rules fix: method overriding is not applicable to constructors 2014-09-22 19:58:01 +02:00
Roman Shevchenko 0deba4ca4c Cleanup (backup files dropped) 2014-09-18 17:57:15 +04:00
Eugene Zhuravlev 4935bbc9ee do not delete output files corresponding to non-existing sources, if these outputs are already associated with existing sources from other modules that have been already compiled (example: moving some class to a dependent module with the same output root) 2014-04-11 22:18:16 +04:00
Eugene Zhuravlev 74f13972f7 fixing compiler storage data integrity for certain cases when classes are moved between modules 2014-02-20 19:34:06 +04:00
Eugene Zhuravlev fbbb85580b files compiled on first round may require additional recompilation on the next round (second part for IDEA-116914)
constant search on the IDE side rewritten: only direct dependencies are returned for each search round; all transitive dependencies will be additionally handled by make
2013-12-17 11:26:21 +01:00
Eugene Zhuravlev 12909239c4 handling cases when added class hides imported class with the same short name (IDEA-116914 Incremental compilation of Java project fails) 2013-11-25 18:36:29 +01:00
Eugene Zhuravlev 28f2ac317a correctly handle inner classes removal 2013-11-13 16:22:15 +01:00
Eugene Zhuravlev 59de59f776 not only static constants may be inlined by compiler: IDEA-115878 Constants search should work for final fields 2013-11-03 22:13:28 +01:00
Eugene Zhuravlev 552a56a6bb revert to resolving against compiled classes (need for IDEA-110165 Sources produced by annotation processor are not implicitly compiled) 2013-07-06 13:29:06 +04:00
Eugene Zhuravlev 87558b71f8 compile implicitly loaded sources from temp roots only (need this for groovy mixed compilation support); otherwise for all implicitly loaded classes instrumented bytecode will be overwritten (e.g. FormsInstrumentation will suffer) 2013-06-15 18:18:03 +04:00
Eugene Zhuravlev 7cd43429a7 incremental compilation: ensure javac always resolves dependencies within same module against sources and not classes compiled on previous steps (IDEA-108215) 2013-06-14 18:04:05 +04:00
Eugene Zhuravlev b318d5f500 external build make: correctly handle situations when more accessible method was removed from hierarchy 2013-02-07 20:20:26 +01:00
Eugene Zhuravlev 8ffa909b2c duplicate class checks 2013-01-21 12:57:01 +01:00
Eugene Zhuravlev 2bb8ca30bc more accurate processing of class usages in generic bounds: process only those parent classes that really are missing from parents list recursively 2012-11-06 16:53:19 +01:00
Eugene Zhuravlev f7f602ea13 IDEA-93853 Make: no error if parameterized type capture bound is incompatible to declared bound 2012-11-03 18:48:09 +01:00
Eugene Zhuravlev f87d2034ed IDEA-93295 Make: removing reference to supertype from subtype does not make client code re-compiled 2012-11-01 19:16:14 +01:00
Eugene Zhuravlev 14a98a621b IDEA-93760 External build: incremental make does not pick up non-compilable overriding method throwing checked exception 2012-10-31 22:01:57 +01:00
Eugene Zhuravlev b338311f83 when checking whether a method defined in some class A can be accessed through a reference to a subclass of A, compare methods using not only their names but also their argument types (fixes IDEA-92136 External compiler doesn't recompile dependent classes when method moved from class to subclass) 2012-09-26 21:40:13 +02:00
nik b5d1392718 added failing test for external compiler 2012-09-26 19:31:35 +04:00
Eugene Zhuravlev 6ec02f5a9d fix: after deletion of files that previously could not be compiled (had errors), those paths were not recognized as deleted and could be scheduled for recompilation 2012-09-21 18:58:59 +04:00
nik 87523bda63 external compiler: added test for forced recompilation of dependent modules 2012-09-18 09:00:50 +04:00
nik f21e20fbf4 external compiler: added test for rename class changing case only 2012-09-07 17:07:08 +04:00
nik 163227c22f external compiler: test data simplified 2012-09-04 12:20:48 +04:00
nik c3cbe77d24 ui designer configuration moved to new jps model 2012-09-04 11:07:39 +04:00
nik 7dfb6bbcc0 unneeded files deleted from testData - 3 2012-08-21 17:26:15 +04:00
nik 78aab52558 unneeded files deleted from testData - 2 2012-08-21 17:26:15 +04:00
nik ebb7b40808 IDEA-89930: I have to invoke Make multiple times and get "package doesn't exist" after updating code 2012-08-21 15:13:26 +04:00
nik d3111ef2ca unneeded files deleted from testData 2012-08-21 11:30:44 +04:00
nik 25ee7438a8 external compiler migrated to new project model 2012-07-19 11:44:56 +04:00
Eugene Zhuravlev 334d2aa91b add test ChangeMethodGenericReturnType 2012-07-18 22:22:53 +02:00
Dmitry Boulytchev 8ffa203245 Improved log (compile server). 2012-05-11 23:58:46 +04:00
Dmitry Boulytchev 4eb792e7a3 Fixed bug in .class as annotation parameter (compile-server). 2012-05-04 19:50:56 +04:00
Eugene Zhuravlev 8ea729ce63 testAddMethodWithCovariantReturnType 2012-04-26 16:45:54 +02:00
Dmitry Boulytchev 1164fdf078 Added test on adding class (compile-server). 2012-04-11 12:09:11 +04:00