FailedChanges

Summary

  1. Bug 545446 - Content assist sorting by relevance is broken (details)
  2. Bug 547125 [12] NPE in (details)
  3. Bug 547051 - do not run Java 9+ subclass search in tests on Java 8 (details)
  4. Bug 540902 - JRE Verify Error Case: Inconsistent stackmap frames (details)
  5. Bug 547148 - Expose Outer Synthetic Locals from Method Binding (details)
  6. Bug 543604 - [9] Error when hovering a HashMap (details)
  7. Bug 543604 - [9] Error when hovering a HashMap (details)
  8. Bug 545715 comment 25 - [12] Assignment analysis doesn't work in switch (details)
  9. Bug 544306 - [Java 11] Error in Editor when using class in Test source (details)
  10. Bug 541466 - Eclipse APT implementation fails when annotation references (details)
  11. Bug 545420 - [1.8][inference] Receiving The target type of this (details)
Commit ca057284776b53a6c26c46cec81546df9ed4cf32 by Vikas.Chandra
Bug 545446 - Content assist sorting by relevance is broken
Change-Id: I01ce846af74f8ce45cd4f07581fae80a4bd66750 Signed-off-by:
Vikas Chandra <Vikas.Chandra@in.ibm.com>
The file was modifiedorg.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/RelevanceConstants.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/SubstringCompletionTests.java
Commit 07c03e0c1a8370acadbedde0194541eadc4b20d4 by jarthana
Bug 547125 [12] NPE in
compiler.problem.ProblemReporter.duplicateCase(...) on reconcile
Change-Id: Ie97b4e108f4ce1c15376cba577d55e40d148663c Signed-off-by: Jay
Arthanareeswaran <jarthana@in.ibm.com>
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/SwitchExpressionTest.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java
Commit 03fdaad45f18c40bcad7976e3ff73297b3d6d718 by loskutov
Bug 547051 - do not run Java 9+ subclass search in tests on Java 8
Change-Id: I161d32da87f1a4a9e83e703c4ee09caed64870a1 Signed-off-by:
Andrey Loskutov <loskutov@gmx.de>
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaSearchBugs9Tests.java
Commit 53b07ab1b381d0f45dec4a55e6c77778075b2775 by jarthana
Bug 540902 - JRE Verify Error Case: Inconsistent stackmap frames
Change-Id: Idbb98d5dfbf676b014637d2d9f13ba7dfd3fb78a Signed-off-by: Jay
Arthanareeswaran <jarthana@in.ibm.com>
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java
Commit 7dc84e51756c711b750c707c83946287f13d93ff by sarika.sinha
Bug 547148 - Expose Outer Synthetic Locals from Method Binding
Requested by JDT debug for bug 534687, to allow debug framework show
captured lambda variable names as val$outerArg instead of arg$1 etc.
Change-Id: I47a3719efbcb7fb82ea04b27321eb0f3fa92bd80 Signed-off-by:
Andrey Loskutov <loskutov@gmx.de>
The file was modifiedorg.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IMethodBinding.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTConverter18Test.java
The file was modifiedorg.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
The file was modifiedorg.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java
Commit 6e74704b020c324802ce193dc05f264ca8b04302 by loskutov
Bug 543604 - [9] Error when hovering a HashMap
The bug was observed under the following conditions:
1. Debug a snippet with a map variable on Java 9 or above JRE. 2. Enable
"Show Logical Structure" in the variables view. 3. Expand a local
variable or a parameter of type java.util.Map or inheriting, either in
the debug hover in the Java source editor or in the Variables view. 4.
Observe an error text instead of content.
The error is caused by JDT debug attempting to compile a snippet as
follows:
package java.util; abstract class Map___ implements java.util.Map { void
___run() throws Throwable { return entrySet().toArray();
}
}
This snippet is constructed in order to validate whether the expression
"return entrySet().toArray();" compiles in the context of the current
breakpoint.
On Java 9 and above, this snippet is not legal. java.util is already
contained in the JRE libraries; its not possible to define a package
like this and compile it without extra compile arguments (in particular
--patch-module).
To fix this problem, we add a special compile mode to JDT core, used by
JDT debug. When in this mode, the JDT compiler will ignore split package
problems. The compiled expression "return entrySet().toArray();" is then
used for evaluation against the underlying java.util.Map, which does
work with JRE 9+.
Change-Id: Iaaf3edde97e5006aecc8792df9da789b8eddbfce Signed-off-by:
Simeon Andreev <simeon.danailov.andreev@gmail.com> Signed-off-by: Andrey
Loskutov <loskutov@gmx.de>
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedTypeReference.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ModuleBuilderTests.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ImportReference.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ModuleDeclaration.java
Commit 74f920117bbf1dae1650ebfa4577620e740d08e4 by stephan.herrmann
Bug 543604 - [9] Error when hovering a HashMap
- fix test isolation: don't delete project required by other tests!
- added test variant trying to use project option
Change-Id: I886d9cb0e27dd45c799e505cc8c1011a9bc27eeb
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ModuleBuilderTests.java
Commit 506b84081b28a0a49c69bf0affa617d4dbc6012e by manpalat
Bug 545715 comment 25 - [12] Assignment analysis doesn't work in switch
statement with ->
Change-Id: I1f03d9bc91b6f8d2db9ca1655f4f3607ba6f63b5
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java
Commit a068825c7323c0bdfce75ff65ce829eb7b4bf2e4 by register.eclipse
Bug 544306 - [Java 11] Error in Editor when using class in Test source
code from modular test dependency
Change-Id: I316d5bf212a555b2855dafc7481abcf7b275ad1e
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProjectElementInfo.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ReconcilerTests9.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SearchableEnvironment.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTConverter9Test.java
Commit 3bfcbfdb646353b49a162b1ce4b2d12369297cbd by jarthana
Bug 541466 - Eclipse APT implementation fails when annotation references
a class not on the class path
Change-Id: Ic80814c9a2cf99dc02cc18ac51225c763d6ae6b8
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/UnresolvedAnnotationBinding.java
Commit 5147f38abb400d33a4aa49de5af5318835c60b88 by stephan.herrmann
Bug 545420 - [1.8][inference] Receiving The target type of this
expression must be a functional interface
Change-Id: Ia55c7f0399cdea0c4448a15bf835406ceb828977
The file was modifiedorg.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericsRegressionTest_1_8.java
The file was modifiedorg.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ConstraintExpressionFormula.java