Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-20Merge remote-tracking branch 'origin/master' into BETA_JAVA15Y20200721-0450Vikas Chandra5-19/+97
2020-07-20Bug 564781 - [15] Write test cases for search for permit reference/Vikas Chandra7-7/+77
record reference in a jar Change-Id: I50dba96a4a6f4fb006aea1ee6d532bdad709d782 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 564904 - [15] [Tests] Building Annotation tests for recordSarika Sinha2-5/+95
Change-Id: I85cf67f6de61bb799349b3c1ab15e6394fc19661
2020-07-20Merge branch 'master' into BETA_JAVA15Manoj Palat32-380/+751
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-17Bug 565293 - Move JavaSearchBugs14Tests to JavaSearchBugs15Tests Y20200718-1200Vikas Chandra5-1092/+952
Change-Id: I5997852c463f6e148ee9815c5772243887e476b1 Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2020-07-17Bug 564904 - [15] [Tests] Building Annotation tests for recordSarika Sinha1-0/+1134
Change-Id: Id0af0bade563067ffa1f2af80cce7c96cd8adcd0
2020-07-16Revert "Bug 564907 - [15] Search on field access should not have any reference"Y20200716-0820Vikas Chandra4-798/+849
This reverts commit b9d03a730db479a0609ca2e5c726b7b99d02241e. The earlier behavior was correct Change-Id: I991bf821e4cfa25da59e4cf56f36d6fe75e694a3
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-16Bug 565194 - [15] Escaped \t processed as whitespace in a text blockJay Arthanareeswaran2-100/+190
Change-Id: Ie936c06e75f0a889ce6b07f5f88b6e8158b46050 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.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-14Bug 565174 - [15] 'sealed' modifier not set when reconstructed fromY20200715-1200Jay Arthanareeswaran4-3/+7
binary Change-Id: I0b41b634ffd5dbc5411b26afeea03e46126f8b23 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-07-13Bug 565168 - [15] Merge 4.17 M1 to BETA_JAVA15 -Merge branch 'master'Manoj Palat74-415/+2719
into BETA_JAVA15 # Conflicts: # org.eclipse.jdt.core.tests.compiler/META-INF/MANIFEST.MF # org.eclipse.jdt.core.tests.compiler/pom.xml # org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java # org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/RecordsRestrictedClassTest.java # org.eclipse.jdt.core.tests.model/META-INF/MANIFEST.MF # org.eclipse.jdt.core.tests.model/pom.xml # org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTConverter14Test.java # org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/IProblem.java # org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java # org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties # org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java Change-Id: I16440b774180ed8357438a1e76843bf012df959f
2020-07-10Bug 564638 - [15] 'sealed' and 'permits' disallowed as type identifiersY20200711-1200Manoj Palat7-0/+1744
Change-Id: Ibdef73f9e4098bd3ff08fd41e41b914839ebb2b9 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-07-10Bug 565104 - [15] JEP 384 Records - generated canonical constructors toManoj Palat2-10/+74
inherit record access modifier Change-Id: I953d4ca9f57029d5e134a9886f2dd09f2ee4c03e Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-07-10Bug 564968 - [15][test] test failures with latest jre - investigateManoj Palat4-10/+37
Change-Id: I79320b4db6518e0d7bb7c334007991bebee4b4aa Signed-off-by: Manoj Palat <manpalat@in.ibm.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-06Bug 564830 - [15][sealed] Fix location or message for compile error onY20200708-1200Manoj Palat3-21/+21
missing modifiers Change-Id: Ib0e83befbf2a8303b4704ae378159cd4bd03eb80 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
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 564907 - [15] Search on field access should not have any referenceVikas Chandra4-849/+798
in compact constructor Change-Id: I1e5c1e79cabc96022f4a9df98c6d8299322d8cee Signed-off-by: Vikas Chandra <Vikas.Chandra@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 564638 - [15] sealed - permits disallowed as type identifierY20200704-1200Y20200703-0300Manoj Palat10-25/+1776
Change-Id: I829e6c05cdad709b38d538a410f3e6e18bf7d6d3 Signed-off-by: Manoj Palat <manpalat@in.ibm.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 564866 - [test] Filter out compliance levels not supported by JREJay Arthanareeswaran1-9/+17
Change-Id: I26e1caa5b6ad04bbf365c453f5a587bf34be75da Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.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 564841 - IllegalArgumentException in content assist for seal typesY20200701-1200Sarika Sinha1-1/+4
Change-Id: I8770f3725659dd086cab33c839e32300e0cba334
2020-07-01Bug 561820 - Update help docs to reflect the latest support JavaJay Arthanareeswaran2-6/+8
version. Change-Id: I7c4c18564b34b2cc75f6fd955109162b93199e78 Signed-off-by: Jay Arthanareeswaran <jarthana@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-30Bug 564729 - [14] Records- Model representation of Record should excludeY20200701-0020Jay 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-29Bug 563919 - [15][dom ast] DOM AST Support for JEP 360 - Sealed TypesY20200629-1000Y20200629-0740Sarika Sinha10-9/+420
Change-Id: Ida5ddbf687a0d7b29f42d108ae362a849aa551a3
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 564646 - [15] AIOOBE while reconciling sealed type declarationManoj Palat2-1/+50
Change-Id: I5ef3d0150019edfca207852f65049cb0e7c1e934 Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
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-25Bug 564049 - [15] JEP 360 - Sealed Types - Search Support Vikas Chandra8-9/+486
Change-Id: I4c01a531bcd1545b3a93e89c78dc31934df6a52e Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2020-06-25Bug 563920 - [15][model] JEP 360 - Sealed Types - Model changesJay Arthanareeswaran2-12/+126
Add new tests for reconciler Change-Id: I10918f617bd38068b50fa642360e3438dc278482 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2020-06-25Bug 564613 - Method name permits causes compilation error in EclipseManoj Palat24-171/+213
2020-6 Change-Id: I8f4c09410f183b1cc18cd8eb2f0877cb4d194dbc Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
2020-06-25Bug 563181 - [15] Records - Clarification on annotations on recordJay Arthanareeswaran16-203/+399
components - investigate Change-Id: If494de8ac88f6748b0ddfc7011659e9ddc88794a Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>

Back to the top