FailedChanges

Summary

  1. Bug 549809 - [17] Compiler support for preview APIs in Java SE platform (details)
  2. Bug 572176 - [16][pattern instanceof] incorrect error (details)
  3. Bug572315 - Fix field name suggestions before annotated members (details)
  4. Omission of tests of Bug 572190 - [ECJ] Mockito fails for some classes (details)
  5. Bug 572125 - Dogfooding - Use static inner class clean up in JDT Core (details)
  6. Bug 571929 -- EmptyStackException when generating long-parameter method call (details)
  7. Bug 571258 - [test] randomly failing AllJavaModelTestsTracing (details)
  8. Bug 564427 - Added system property for idle time in IndexManager (details)
  9. Bug 572686 - java.nio.file.ProviderNotFoundException: Provider "jar" not (details)
  10. Bug 571363 - ECJ adds empty packages from classpath to <Unnamed Module> (details)
Commit 30e195373c742c5c4be6c5b2e3448f1c0c120e76 by Jay Arthanareeswaran
Bug 549809 - [17] Compiler support for preview APIs in Java SE platform

Change-Id: Ie7c7d4020b87290bb10de88987f9634db03d2c2c
Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ExtendedTagBits.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TagBits.java
Commit b953bd6d6f24965f3c129c9f740f3e3984034f9a by Jay Arthanareeswaran
Bug 572176 - [16][pattern instanceof] incorrect error

Change-Id: I9fdc514e1857ae5750d55a5228d68ac09be7f17e
Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/PatternMatching16Test.java
Commit ee7257f30784e3d71f7b274bccdd7425d730f54f by Jay Arthanareeswaran
Bug572315 - Fix field name suggestions before annotated members

When annotations are processed by the parser it fails to identify the
type reference as a ASTNode when there is no semicolon which result is
failing to suggest variable names.This fix simulate the completion
parser as if it there was a semicolon at the end of the line.

Change-Id: I5d2b88f43bab5f6ccd3e8537a5017719040f2f88
Signed-off-by: Gayan Perera <gayanper@gmail.com>
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests18.java
The file was modifiedorg.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
Commit fff427131ec426cc65f0ccc290b69bdb678a35e2 by Manoj Palat
Omission of tests of Bug 572190 - [ECJ] Mockito fails for some classes
compiled by ECJ / wong NestMembers (javac works)

Change-Id: I950cb7059eebeebf895b6850a457d2c1eb7eea49
Signed-off-by: Manoj Palat <manpalat@in.ibm.com>
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JEP181NestTest.java
Commit 0b9ba97782cdd1fa62259f493f6da9e02f89e489 by Fabrice Tiercelin
Bug 572125 - Dogfooding - Use static inner class clean up in JDT Core

As cleanup for static inner class improved additional places are found
in JDT core.

Change-Id: I2ad49bfa352752ad3fa7b0391b938adda914726f
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeSignatureTest.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/AbstractASTTests.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchExpression.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BoundSet.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/nd/BTreeTests.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/AbstractJavaModelTests.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaModelManagerTests.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/OverflowingCacheTests.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CodeCorrectionTestsRequestor.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/env/IUpdatableModule.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/SearchTests.java
The file was modifiedorg.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMapper.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FunctionalExpression.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/BatchASTCreationTests.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java
Commit 92041e1d38bd3a44c9509bad86751aea4c6d1fd4 by Manoj Palat
Bug 571929 -- EmptyStackException when generating long-parameter method call

Signed-off-by: Jonas Konrad <me@yawk.at>
Change-Id: I3f0ec7308bff5ada0fff18b191410c8f1b713aab
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/SwitchExpressionsYieldTest.java
Commit d83db768b79ae8ea665a9a84d06bed709aa8bccf by Andrey Loskutov
Bug 571258 - [test] randomly failing AllJavaModelTestsTracing

If we assume, that sometimes delta processing is done in a asynchronous
way, creating a project can have indeterminstic result in a delta or not
wether or not the asynchronous job is in time or not.

Let try to move "startDeltas" before creating the project, so we capture
and expect project creation delta.

Additionally add delta information to the delta trace.

Change-Id: Iad12c01f6fd40b360039b93c90056b07cbf464d4
Signed-off-by: jkubitz <jkubitz-eclipse@gmx.de>
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaElementDeltaTests.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/AbstractJavaModelTests.java
Commit 4748925d10cdfbae0c42c84bff750830a0c2a822 by Andrey Loskutov
Bug 564427 - Added system property for idle time in IndexManager

This change adds a system property
'jdt.core.indexManager.notifyIdleWait', used by
IndexManager.notifyIdle(long) to save indices after idling for a
specific amount of time.

The property value is in milliseconds and can be specified e.g. with
passing the following parameter to the Eclipse command line arguments:

-Djdt.core.indexManager.notifyIdleWait=500

The default idle time of 1000 ms remains unchanged.

Change-Id: I85b1914e45da6c5dd6e4f02105c35a14249e7216
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
The file was modifiedorg.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java
Commit 4152e6dfbd8a97a0af034fb0f01a4d5ad0b615f4 by Andrey Loskutov
Bug 572686 - java.nio.file.ProviderNotFoundException: Provider "jar" not
found

Try to delegate search to service-provider loading facility by providing
classloader object, if the installed jar provider is not found for
whatever reason.

Change-Id: I400ed1839f538be0d5db430f54607986bb161f85
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/CtSym.java
Commit 300f90a03bda5c7a6abcd383c67b6ea8e42c1076 by Andrey Loskutov
Bug 571363 - ECJ adds empty packages from classpath to <Unnamed Module>

- make CtSym.getModuleInJre12plus() public
- change ClasspathJrtWithReleaseOption.findClass() method to
  use CtSym.getModuleInJre12plus() to get the module name if
  JRE 12 plus and the module name is unknown
- make similar changes to ClasspathJep247Jdk12.findClass()
- fix ClasspathJep247Jdk12.getModule() for the case of --release 1.8
- add support in TestingEnvironment to specify Java 12
- add new test to ModuleCompilationTests()
- add new Bug571363Test test class

Change-Id: Ie89852fb98405c3ec66af466b15bc56fed21202f
The file was addedorg.eclipse.jdt.core.tests.builder/src/org/eclipse/jdt/core/tests/builder/Bug571363Test.java
The file was modifiedorg.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathJep247Jdk12.java
The file was modifiedorg.eclipse.jdt.core.tests.builder/src/org/eclipse/jdt/core/tests/builder/BuilderTests.java
The file was modifiedorg.eclipse.jdt.core.tests.builder/src/org/eclipse/jdt/core/tests/builder/TestingEnvironment.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathJrtWithReleaseOption.java
The file was addedorg.eclipse.jdt.core.tests.builder/workspace/Test571363.jar
The file was modifiedorg.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathJep247.java
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ModuleCompilationTests.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/CtSym.java
The file was addedorg.eclipse.jdt.core.tests.compiler/workspace/Test571363.jar