Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-20Bug 566211 - Version increment required for jdt core apt pluginsS4_17_0_M3I20200823-1800I20200823-0600I20200822-1800I20200822-0600I20200821-1800I20200821-0440I20200820-0230Sravan Kumar Lakkimsetti4-4/+4
Change-Id: Ib6a2e177f3738971069a49efd5841e4955f1aa46 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2020-08-18Bug 540765 - NullPointerException fromI20200819-1800I20200819-0600I20200818-1800Jay Arthanareeswaran2-1/+35
GeneratedFileManager.saveCompilationUnit Change-Id: I03a900c3e1ca82c20be88695913483826b836514 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-08-18Bug 566105 - [batch] bogus output regarding total number of infosStephan Herrmann2-2/+2
Change-Id: If03557d90b22f8d8cee28f4ba529c4d27cff4237 Signed-off-by: Stephan Herrmann <stephan.herrmann@berlin.de>
2020-08-18test for Bug 565787 - Invalid code generated for records -I20200818-0900I20200818-0600I20200818-0340Manoj Palat2-0/+87
java.lang.invoke.LambdaConversionException at runtime Change-Id: Ie2a1ea45c7b95f7e9f6084ac68eb1418c7eb45b1 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-08-17Bug 566125 - [14] Widening conversions combined with method invocationJay Arthanareeswaran2-1/+260
and switch expressions doesn't work Change-Id: If008a6f8a920d9cd353c5791baafe69e356c9d68 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-08-17Refactor with resets Bug 565787 - Invalid code generated forI20200817-1800I20200817-0920Manoj Palat5-189/+211
records - java.lang.invoke.LambdaConversionException at runtime"" This reverts commit 76efe9ba43b37439a0a6b7ea4fbe4ec7f3da6caf.
2020-08-16Revert "Bug 565787 - Invalid code generated for records -I20200817-0600I20200817-0450I20200816-1800Andrey Loskutov5-193/+188
java.lang.invoke.LambdaConversionException at runtime" This reverts commit 9ceeac56c5b6cbdf7d200620db098a097d629e82. The commit above caused blocker regressions in PDE, looks like generated classfiles aren't valid in some cases. See bug 566106 and bug 566110.
2020-08-15Bug 565787 - Invalid code generated for records -I20200816-0600I20200815-1800Manoj Palat5-188/+193
java.lang.invoke.LambdaConversionException at runtime Change-Id: Id337da18abaf0af53a9f4b4ac9bf606868d30227 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-08-14Bug 565830 - record - nested record contains reference to the enclosingI20200815-0600I20200814-1800I20200814-1040I20200814-0640I20200814-0330Manoj Palat2-0/+29
instance Change-Id: I44d8f11f1ef5e55eaaf8c2675a530ab2fd709fba Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-08-12Bug 565417 - package com.sun.jdi is accessible from more than one moduleI20200813-1800I20200812-1800I20200812-0710Andrey Loskutov3-5/+12
This patch switches compilation to Java 11 to consume "com.sun.jdi" packages from JDK, but requires patch for jdt.debug which would remove duplicated jdi packages contributed by jdt.debug. This is required to avoid "The package com.sun.jdi is accessible from more than one module" error, because jdt.debug ships own version of "com.sun.jdi" packages, and this breaks compilation on Java 11. Change-Id: I782fcc5eafcb1456b9a0ce72def583320a4a33db Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2020-08-12Bug 565844 - [14] Compiler rejects code with conditionalManoj Palat26-598/+783
expression in a switch expression's case Change-Id: I9b3b00f018c11ff459a3e07f5beb4428df805cc9 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-08-09Version bump for 4.17 stream.I20200811-1800I20200810-1800Alexander Kurtakov2-2/+2
As there is only qualifier change visible at https://download.eclipse.org/eclipse/downloads/drops4/I20200808-1800/buildlogs/reporeports/reports/versionChecks.html Change-Id: I2124de8a0ebbccfdb395c5cec854169ff305bd9b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-08-07Bug 563628 - NullPointerException inI20200809-1800I20200808-1800I20200808-0230I20200807-1800Alexander Kurtakov1-4/+3
org.eclipse.jdt.internal.compiler.tool.EclipseFileManager.getLocationForModule Fix warning in nightly build. Change-Id: I38f363e29156fc30573a1c90ccb253659d99f2e0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-08-06Bug 565844 - [14] Compiler rejects code with conditional expression in aI20200806-1800Jay Arthanareeswaran2-2/+114
switch expression's case Change-Id: I4807e10b62a516606f85adb0346f141fead11062 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-08-06Bug 563628 - NullPointerException inSravan Kumar Lakkimsetti2-2/+129
org.eclipse.jdt.internal.compiler.tool.EclipseFileManager.getLocationForModule In this specific case the module is different from project folder and the java files are passed to to the compiler without modulesourcepath. In this case we ger a null when we try to find output location for a module. The solution is to create modules in the standard CLASS_OUTPUT folder. Change-Id: I09da1602ce5559fdd7678c491fc992d6f0661c91 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2020-08-05Bug 565748 - ECJ creates automatic modules for classpath foldersI20200805-1800I20200805-0750I20200805-0630Jay Arthanareeswaran4-5/+147
Change-Id: I2c1627a089f1e2492bceb85d87946cc717b1444f Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-07-30Bug 565639 - Compiler generates wrong line number information with textI20200804-1800I20200803-1800I20200803-0210Jay Arthanareeswaran3-13/+190
blocks Change-Id: I68c61486753b8c42baa73c6e23e3ac701648c48b Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-07-28Bug 562101 - [14] Wrong bytecode when switch expression is embeddedI20200801-1800I20200801-0010I20200731-2040I20200731-1800I20200731-0520I20200730-1800I20200729-1800I20200729-0120I20200728-1800I20200728-1120Manoj Palat8-36/+245
inside a pattern matching instanceof statement Change-Id: I3881a7708981e0c915ec970d0e05e0e8a2265bc2 Signed-off-by: Manoj Palat <manpalat@in.ibm.com> Also-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-07-22Bug 565386 - Content Assist in AnnotationMethod gives ClassCastExceptionI20200727-1800I20200726-1800I20200724-1800I20200724-0600I20200723-1800I20200723-1030I20200723-0620I20200722-1800I20200722-1140I20200722-0610Vikas Chandra2-1/+18
Change-Id: If46884db8e7519a070571ba0eee18a7410446ca1 Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2020-07-20Bug 564828 - [14] Content assist for public rec should give record I20200721-1800I20200721-1400I20200721-0950I20200721-0610I20200721-0130I20200720-1800Vikas Chandra5-19/+97
Change-Id: I60317dea718e183a12f86ed83bc098b98009dc9f Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2020-07-20Bug 547193 - [switch expression] Unable to compile switch expressionI20200720-0850I20200720-0020Manoj Palat1-0/+18
containing try-catch (test) Change-Id: I56d2d0e71982a0f5aa68d08c7ec98015e8e003f7 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-07-19Bug 565156 - Compiler crash on switch expressions with try-catch andI20200719-2010Manoj Palat5-44/+314
throw Change-Id: Ib0531d06d0223758b8928397a4a2e3d8b36e2a37 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-07-16Bug 565267 - [subword] improved boundaries for mixed caps and camel caseI20200718-1800I20200717-1800I20200716-1800Julian Honnen2-53/+56
Fixed detection of word boundary after capital name prefix. Examples: * IImportWizard matched by "import": I[Import]Wizard * HTMLTable matched by "table": HTML[Table] The state-machine based detection turned out to be not a good fit. Instead detect boundaries by comparing the cases in every tuple of (previous, current, next) chars. Change-Id: If87714632f1103b1fbb96171c1c29483d7417d94 Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2020-07-15Bug 564853 - Replace Vector with ArrayListJay Arthanareeswaran19-280/+272
Change-Id: Ia8b7bbcb7150c80e5bf01cd61979af6eb1339e7d Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-07-15Bug 565015 - [14] Creating a Record within a Record gives an errorI20200715-1800Kalyan Prasad Tatavarthi4-1/+58
Change-Id: Idceb52f8b76ba980382beb752433784e3bed6251 Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
2020-07-14Bug 565053 - [formatter] Parenthesis in "separate lines if wrapped":Mateusz Matela2-3/+34
wrapping disruptions Change-Id: Ic61233a5763f6c2d74e559f378f38194f8f41934 Signed-off-by: Mateusz Matela <mateusz.matela@gmail.com>
2020-07-06Bug 564922 - Compiler fails to use Java 16 when release option isS4_17_0_M1I20200714-1800I20200713-2230I20200713-1800I20200712-1800I20200711-2250I20200711-1800I20200710-1800I20200710-0230I20200708-1800I20200708-0600I20200707-1800I20200707-0600I20200706-2300I20200706-1800Andrey Loskutov3-48/+67
enabled Changed "hex" release number parsing for ct.sym release directories to "special" encoding. Basically it *looks like* the releases starting with Java 10 encoded with capital letters starting with "A". We assumed that this would mean hex encoding, but at least Java 16 says that 16 should be spelled like "G", and not like "10". Let's hope that there is some logic and 17 will be "H" and not "$%&". Change-Id: I5f1cccbd128898067eecf34a059674ad7aa3cea1 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2020-07-06Version bump for 4.17I20200706-0600Alexander Kurtakov2-2/+2
Change-Id: I9987c4c3840c248ac6b2455a3b22eb7223fe4174 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-07-03Bug 564905 - [regression] Missing full build on .class file changesI20200705-1800I20200705-0710I20200705-0600I20200704-1800I20200704-0600I20200703-1800Simeon Andreev4-2/+212
If the output folder of a project is deleted in file system, while the project is closed, the project is not built on re-open/refresh. The same is true if Eclipse was closed when deleting the output folder (e.g. with a git clean). This is a regression caused by a fix for bug 563030. When State.typeLocators is persisted, instead of writing key/value pairs, value/value pairs are written. As a result, after persisting the project build state, IncrementalImageBuilder.checkForClassFileChanges() no longer detects .class file changes. It looks with keys in State.typeLocators, while the map has value->value pairs. Change-Id: I154764626d7a6ff264c0d3d4931d1689df60878e Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2020-07-03Bug 564146 - [14] Records - Non-canoncial constructors must call anManoj Palat8-12/+161
other constructor Change-Id: I3521d810e308efacf3b4ef5ad20e46ff03cae489 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-07-03Bug 383608 - [1.8][compiler] Test failures need to be investigatedSarika Sinha2-39/+56
Change-Id: I658d88e90976bdeb11099550708476efbdec27cf
2020-07-03Bug 563713 - [Tests] Build up AST rewrite tests for record componentsSarika Sinha4-23/+1024
Change-Id: Ie7ef9f709211940e461ba41ddc1abbf330744ef0
2020-07-02Bug 564591 - ParameterizedTypeBinding drops annos from ReferenceBindingI20200702-2150I20200702-1800Eric Milles2-6/+29
Change-Id: Ida20911d6a98d81dc50eea77af2fc5b81ddb4821 Signed-off-by: Eric Milles <eric.milles@thomsonreuters.com>
2020-07-02Bug 481323 - support substring and subword matching in findTypesJulian Honnen10-172/+280
Substring matching is always enabled and can only be disabled by the existing VM arg -Djdt.codeCompleteSubstringMatch=false. Subword matching is enabled by default and can be disabled with the existing preference. Modified SearchableEnvironment, SearchPattern, Index and BasicSearchEngine to support match rules with any combination of exact type, camel case, substring and subword matches for types. In Substring/SubwordCompletionTests all java.* type proposals are ignored. The intention is to avoid test maintenance when new types with similar names are added to the JDK (e.g. CyclicBarrier is now a match for "bar"). Change-Id: Ie51b96f0b20025001b7babcaf5aff1637bc0922e Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2020-07-02Bug 563375 - [14][inline] Inline method that returns record/class adds code ↵Kalyan Prasad Tatavarthi3-9/+102
breaking import Change-Id: I17e94cc3db103d80655cb588f52742c74d562d1d Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
2020-07-01Bug 564766 - [14] Code Clean Up: ClassCastExceptionI20200701-2350I20200701-2210I20200701-1800Jay Arthanareeswaran4-33/+62
Change-Id: I8a5ccbecf8cac4efa8dd701bf785a50e11bff7e3 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-07-01Version bumps for 4.17 stream.I20200701-0330Alexander Kurtakov4-4/+4
From today I-build: IUs in current repo that increase versions but with qualifier only Count: 2 IU id Reference (old) version Current (new) version org.eclipse.jdt.compiler.tool.tests 1.2.700.v20200417-1402 1.2.700.v20200626-0630 org.eclipse.jdt.core.tests.compiler 3.12.1200.v20200524-1331 3.12.1200.v20200626-0843 Change-Id: I508822d46f70c357ad4c19ca70d63771d349cc93 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-06-30Bug 564729 - [14] Records- Model representation of Record should excludeI20200630-1800Jay Arthanareeswaran2-0/+32
implicit constructors Change-Id: I26008d29f42084e813e334516d5fd3fb9947fd5f Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-06-29Bug 563698 - [15] [DOM] [AST] provide an API on IMethodBinding forI20200629-1800Alexander Kurtakov1-2/+2
Compact Constructor Fix javadoc failure in nightly build: ../../../eclipse.jdt.core/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IMethodBinding.java:61: error: unexpected end tag: </p> * </p> ^ 1 error Change-Id: I6cc983746e5e7baac5fa9976aacb0e0c401fcb2b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-06-26Bug 562948 - [14] "record" name for a Record gives error after creation of ↵I20200628-1800I20200626-1800Kalyan Prasad Tatavarthi1-2/+2
Record This change updates the javadoc to point to the new method in the deprecated method Change-Id: I0c93f4067c2a7275bcc41cc7dbcc25faf68bbb15 Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
2020-06-26Fix warnings due to unused suppress warnings and suchJay Arthanareeswaran3-4/+2
Change-Id: I0daa773e85bd0ae7653427adf6ce83150a3c067b Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-06-26Bug 563654 - EclipseCompiler reports suppressed warningsThomas Wolf4-4/+220
EclipseCompiler produced extra reports of suppressed warnings through the DiagnosticListener. This can lead to suppressed warnings being reported, or to the same warning being reported several times. Add tests for EclipseCompiler and BatchCompiler for these cases. Change-Id: I4cfbab95ede9d96cc064acc3d32077f73127a9e3 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2020-06-25Bug 118641 - [formatter] Formatter does not break line on assertI20200625-1800Rory Hunter6-2/+191
statement Change-Id: I4da1278fb4d37caa752bc49122c0b9cd7bd9608a Signed-off-by: Rory Hunter <rory@elastic.co>
2020-06-24Bug 564607 - [14] Generate Getters are not added in the right positionSarika Sinha2-1/+68
in Record Change-Id: Id9dcbcb11f75ab2de569095e358533220695f12a
2020-06-24Bug 563698 - [15] [DOM] [AST] provide an API on IMethodBinding for Compact ↵I20200624-1800Kalyan Prasad Tatavarthi6-3/+101
Constructor 1. Used ASTNode.Bit24 bit which is not used on methods. 2. Updated javadoc for isCompactConstructor to indicate that this function works only for source files and not on class files as there is not enough info to deduce this. 3. Added tests Change-Id: Iec32eec76d459790193f0c3fb063b0429e7b5378 Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
2020-06-19Bug 563713 - [Tests] Build up AST rewrite tests for record componentsI20200623-1800I20200623-1010I20200622-1800I20200621-1800I20200620-1800I20200619-1800Sarika Sinha1-2/+0
Change-Id: Ia7d223c1d1e7362369f2e2efcd3477fc88f4e2ac
2020-06-18Bug 563713 - [Tests] Build up AST rewrite tests for record componentsI20200618-1800Sarika Sinha5-7/+209
Change-Id: If44c19f8f6a8faf88cbcfa4b81c72e0a482a2c91
2020-06-12Bug 477291 - Ensure the module field is being setI20200617-1800I20200616-1800I20200616-0620I20200616-0320I20200616-0140I20200615-1800I20200614-1800I20200613-1800I20200612-1800I20200612-0650Jay Arthanareeswaran1-0/+1
Change-Id: Ibbfb775dc082a91e7d7189f2159b3b39a4e4a0e6 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-06-12Bug 560472 - MethodScope.createMethod does not populate ↵I20200612-0400Eric Milles1-3/+6
method.binding.parameterNames from Argument[] Change-Id: I8e173d29bf6142bab3487051229bb5f544a40983 Signed-off-by: Eric Milles <eric.milles@thomsonreuters.com>
2020-06-12Bug 535062 - Annotation with @target MODULE are not processedJeremy Kuhn16-28/+259
Change-Id: Ib9a8974ec13644444b10fb0bf2c119da6d453410 Signed-off-by: Jeremy Kuhn <jeremy.kuhn1@gmail.com>

Back to the top