Eugene Zhuravlev
0143e8951f
adjust test data to test that only direct subclasses are affected
...
GitOrigin-RevId: 91017ce9dd9038879a7ce0e44a6c1dc9c2dfd000
2024-07-11 20:07:18 +00:00
Eugene Zhuravlev
40bbc9947b
JPS: support java16 instanceof pattern matching
...
GitOrigin-RevId: 5a2777c4234e63621c1daf4bc11da402edaae8f5
2024-07-05 17:52:09 +00:00
Eugene Zhuravlev
7ffc3f8f8b
JPS: generalize support for java17 sealed classes; supported case when permitted list gets reduced
...
GitOrigin-RevId: 9be5ef80b3dd00509cbe9e5dce2f9f00c4b6557a
2024-07-05 17:52:09 +00:00
Eugene Zhuravlev
9918b9e892
JPS: support java17 sealed classes in incremental analysis
...
GitOrigin-RevId: b444675d623ff5138bf596225d642d80f0244cbf
2024-06-28 16:57:48 +00:00
Eugene Zhuravlev
27e7521afa
JPS mappings for incremental compilation refactoring: rework logic marking dependencies on class addition: use ImportPackageOnDemandUsage to define affection scope (more accurate); get rid of short class name index
...
GitOrigin-RevId: 1411080b7d823fd13acfc6b2acfe86cf162f8ee6
2024-03-19 16:23:51 +00:00
Eugene Zhuravlev
4e00af4b15
JPS mappings for incremental compilation refactoring: handle implicitly implemented methods on method signature change; applicable to both java and kotlin
...
GitOrigin-RevId: 99cfb7a4f38d8a2e6be0d0374d54f94c3dcccbc1
2024-03-11 21:19:07 +00:00
Eugene Zhuravlev
b3620a760a
JPS mappings for incremental compilation refactoring: generalized lambda-targets related rules; added rules for Kotlin extension functions
...
GitOrigin-RevId: a5bc5a717bceb0a3eb30e312fea5892577a21f66
2023-11-25 13:34:33 +00:00
Eugene Zhuravlev
554230aac8
JPS mappings for incremental compilation refactoring: annotations tracker: when affecting USAGES, for abstract methods affect additionally usages of their implementing methods (KTIJ-21206)
...
GitOrigin-RevId: 8147d606a70d10136b292043599befad36b2df04
2023-11-23 22:02:03 +00:00
Eugene Zhuravlev
c29928fb37
JPS mappings for incremental compilation refactoring: rules for added fields
...
GitOrigin-RevId: 7b15d686e337638b4a0de921deb0c75b88d57c61
2023-11-03 14:14:11 +00:00
Eugene Zhuravlev
8fcc1c08cc
correctly search for overridden/overriding package-local members
...
GitOrigin-RevId: e6aabe4198d345ccce6bc9f64d28a95ca2755ef8
2023-10-25 17:15:19 +00:00
Eugene Zhuravlev
2c149d06ef
JPS mappings for incremental compilation refactoring: for overridden method analysis, search for non-abstract methods using exact match (with return type), like it is in bytecode
...
GitOrigin-RevId: f77752af33fab766b2863c408ea0cfdea96a21b5
2023-10-20 08:51:17 +00:00
Eugene Zhuravlev
647b9dde1c
JPS mappings for incremental compilation refactoring: basic class parsing test and NPE fixes
...
GitOrigin-RevId: f88636ec9fb9b151dc716882b7eeba297dac41cb
2023-10-04 12:30:37 +00:00
Eugene Zhuravlev
7711b1eb6d
test data corrected; clarifying comments added
...
GitOrigin-RevId: db1ee02b81d0df7fb5893d5a2195bf0de235ee28
2023-09-07 22:00:23 +00:00
Eugene Zhuravlev
b9fa027b9b
support classes with the same FQ name in different modules
...
GitOrigin-RevId: e6c7f706d151f32f8236ba2bfaab8df4dde73651
2023-05-02 14:25:51 +00:00
Eugene Zhuravlev
a0e06acd26
recompile only classes using the enum in switch statements (IDEA-303821)
...
GitOrigin-RevId: c6f6e201374ac0c76e3ed16bf13af25c8b2a6816
2022-10-19 18:26:00 +00:00
Eugene Zhuravlev
96ae91ed33
if constants are added to some enum, recompile classes using the enum (IDEA-303821)
...
GitOrigin-RevId: 43495168af351d2f4a818369df0cd2b3a657251c
2022-10-19 18:25:57 +00:00
Eugene Zhuravlev
5591426424
support record_component annotation target (IDEA-302461)
...
GitOrigin-RevId: 1dff90afb11f273b52b3867177cb910efb0e895e
2022-10-15 00:20:14 +00:00
Eugene Zhuravlev
370339d76e
JPS: handle method visibility changes that might lead to ambiguous call issues (IDEA-286565)
...
GitOrigin-RevId: 7ecd81c5786d33573c39116a3e16d82bef3a752d
2022-01-13 07:58:12 +00:00
Eugene Zhuravlev
adfe648216
affect lambda instantiations when an abstract method in a SAM interface becomes non-abstract (IDEA-263109)
...
GitOrigin-RevId: 882c034d0cd6afbc297dca1e59e940dd90f8c5a4
2021-02-27 14:52:58 +00:00
Eugene Zhuravlev
3da0d1a0f5
recompile lambda instantiations on SAM interface changes (IDEA-261683)
...
GitOrigin-RevId: 3d3407ac4af0efb25681a6678ee5eb11594ace41
2021-02-17 17:05:40 +00:00
Eugene Zhuravlev
205dfea3f3
process constants non-incrementally if non-javac compiler (e.g. ecj) is used (IDEA-250524)
...
GitOrigin-RevId: 8ce5335fdc6b7d774611242e3195046af6a31ed0
2020-12-04 13:38:17 +00:00
Eugene Zhuravlev
3c2608408e
compile-time constant field change affects static import usages (IDEA-245262)
...
GitOrigin-RevId: 9d472bdad672217f92a17766165ef51e4eea4947
2020-07-07 14:53:42 +00:00
Eugene Zhuravlev
f7c4093fbe
affect usages of a method if its exception list contains exception classes with changed hierarchy
...
GitOrigin-RevId: 6af9d4a8e0da3b7761497783e5f1fb3f9c1f4c4a
2020-02-11 14:47:01 +00:00
Eugene Zhuravlev
425460b641
JPS: support javac inlined constants in incremental java compilation
...
GitOrigin-RevId: 42977fcc81ef1fcf21dbb46f37e0d5435946ea49
2020-02-10 11:03:00 +00:00
Eugene Zhuravlev
61713a7ca7
Builder API for creation DirtyFilesHolder objects
...
GitOrigin-RevId: 7391b32458737bd61214670001539c4ec04618b8
2020-01-16 12:36:12 +00:00
Eugene Zhuravlev
096910239f
java make: correctly recompile usages of method that has been modified and overridden in one of subclasses in the same change
...
GitOrigin-RevId: 3bf4d1fea91c892b64db71510d9efc0bf535873f
2019-11-26 20:33:30 +00:00
Eugene Zhuravlev
a12101438d
support JPMS module names for exploded automatic modules (IDEA-183692)
...
GitOrigin-RevId: 29b82f6f8ebce48a71cd1ca74ec70532697e93a7
2019-10-18 13:09:55 +00:00
Eugene Zhuravlev
d38eb1fe8d
testdata crlf (IDEA-223826)
...
GitOrigin-RevId: ac89d5b69228e561e1be1e292a444190b0cbad57
2019-10-02 14:35:12 +00:00
Eugene Zhuravlev
cddc167959
incremental java make: handle ambiguous resolution problems after constructor overloading (IDEA-223826)
...
GitOrigin-RevId: a59bbcd14330165c518991157503c0eb89297a18
2019-10-02 11:01:38 +00:00
Eugene Zhuravlev
c4428f6ee8
support simultaneous modulePath & classpath compilation for JPMS projects (IDEA-223774)
...
GitOrigin-RevId: 5bb3b635b6d31d941633ffbdf28fc17e6d9f1b12
2019-10-01 14:32:52 +00:00
Sergey Ignatov
a359f60e11
add a test which shows a superiority of the hashed-based stamp approach
...
GitOrigin-RevId: f0da9d6be7655ca4ee0e35d3b2a4898689ce6751
2019-08-22 01:50:10 +03:00
Alexander Zolotov
391bda1c4b
Update color schemes
...
- support the new Go colors
GitOrigin-RevId: 4ecd779a6ceae3f36b60c6656d9ff819fe844f89
2019-07-02 06:52:16 +03:00
Eldar Abusalimov
1120c30a56
Merge remote-tracking branch 'origin/master' into eldar/cidr-debugger
...
# Conflicts:
# CIDR/clion/src/com/jetbrains/cidr/cpp/toolchains/MSVC.java
GitOrigin-RevId: f3593b526d1870f32b3f1451cab0c6a653e5beb5
2019-06-16 03:01:38 +03:00
Eugene Zhuravlev
c9c165702a
adapt test data to get the same and stable results with both javac6 and javac11
...
GitOrigin-RevId: 54f46ef3a7198e74af9088e52a57420c27fe0b2f
2019-06-15 17:01:48 +03:00
nik
27b10c30d3
javaee: rewrite JSP validation to run inside external build process and download required JARs (IDEA-206443)
...
This fixes several issues when validation wasn't performed correctly because required files weren't copied to the artifact; also the validator don't process PSI inside the IDE process to analyze dependencies (it processes class-files inside the build process), this will help to avoid performance issues.
The validator's JARs are removed from Git repository and don't bundled with the product anymore; they are attached as Maven libraries with 'provided' scope to the sources, and downloaded automatically when validation is invoked for the first time. This also helps to avoid issues with updating libraries on which they depend (e.g. Ant).
Tests are rewritten to use a simple mock implementation of Jasper validator; this way they run faster, don't depend on external libraries and don't require specific JDK version (previously it was needed to use Java 6 to run them).
2019-02-07 17:45:05 +03:00
Eugene Zhuravlev
95720274af
Interface field usages aren't recompiled after pushing it down with changing type and collapsing hierarchy (IDEA-203838)
2018-12-12 19:39:48 +01:00
Eugene Zhuravlev
0573476ebb
augment incremental java build with rules for imports and static imports
2018-12-12 14:08:07 +01:00
Eugene Zhuravlev
871317e582
JPS: import statements references collection support for javac-compiled bytecode
2018-12-11 13:10:07 +01:00
Eugene Zhuravlev
c2b0293745
file timestamps for targets being fully rebuilt should be cleared together with output removal (IDEA-201312)
2018-10-26 18:59:00 +02:00
nik
c58bd8fc49
jps build: more accurately determine that target is completely dirty
...
Mark a target as completely dirty even if a custom filter was used (e.g. registered by JavaBuilderUtil.registerFilterToSkipMarkingAffectedFileDirty) provided that all files from the target were marked dirty.
This also fixes FieldPropertyTest.testConstantChainMultiModule which was broken after 507dd85f4d .
2018-05-17 10:44:01 +03:00
Eugene Zhuravlev
de54d378ab
include exported dependencies in build target configuration fingerprint => recompile build target on indirect dependency change (IDEA-188330)
2018-03-16 14:23:23 +01:00
Eugene Zhuravlev
204a4b5abd
Mark as 'deleted' all non-existent paths obtained from dependency caches. This will automatically clean stale non-existent paths from dependency data in situations when deleted paths info for build targets is lost or not available (fixes problem when old target caches are lost and non-existing files from dependency caches are sent to compilation: IDEA-185750)
2018-02-04 17:25:03 +01:00
Eugene Zhuravlev
3d4b4c53b2
java make: recompile method usages of deleted method when it is replaced with equivalent bridge method (IDEA-185494)
2018-01-26 16:05:43 +01:00
Eugene Zhuravlev
c022771c55
usage constrains fixes and optimizations for 'added' fields; more tests added
2018-01-15 10:44:31 +01:00
Eugene Zhuravlev
fd1c5c24f2
Correctly handle removal of 'protected' access flag on fields (IDEA-184854);
...
Fix InheritanceConstraint: when member access is changed to protected or package-private, more precise calculation of affected files
2018-01-13 16:33:14 +01:00
Eugene Zhuravlev
9b4d307c66
test for conflicting classes with the same qName
2017-12-22 15:06:16 +01:00
Eugene Zhuravlev
4d365d26cc
trigger module rebuild for newly-added module-info.java (IDEA-182378)
2017-11-22 16:31:32 +01:00
Eugene Zhuravlev
6871c142ba
- do not set 'outer class' property when parsing classes using inner classes declared elsewhere;
...
- for inner classes store complete set of access flags
2017-10-31 16:38:22 +03:00
Eugene Zhuravlev
29ea6cca1f
fix module-info integrate after errors (IDEA-181208)
2017-10-30 16:21:53 +03:00
Eugene Zhuravlev
4d80dd88ef
incremental build: recompile usages of annotations containing TYPE_USE target on any target set change (IDEA-180438)
2017-10-26 16:46:19 +02:00