diff options
author | Till Brychcy | 2018-11-01 08:39:42 +0000 |
---|---|---|
committer | Till Brychcy | 2018-11-01 08:39:42 +0000 |
commit | c733643b2d071fdcbe0ba8093a962fa3f0a0cde5 (patch) | |
tree | bb370390f9060089d621acdfdf88a61cab707d3b | |
parent | 1d1468f56bf9e54149c9b9759e0d4e70fd0d999b (diff) | |
download | eclipse.jdt.core-c733643b2d071fdcbe0ba8093a962fa3f0a0cde5.tar.gz eclipse.jdt.core-c733643b2d071fdcbe0ba8093a962fa3f0a0cde5.tar.xz eclipse.jdt.core-c733643b2d071fdcbe0ba8093a962fa3f0a0cde5.zip |
Bug 540090 - Unjustified FilerException "Source file already exists" inI20181103-1800I20181102-2120I20181102-1800I20181101-1800
BatchFiler
Change-Id: Ic103f78921947bae1d10c1ab062e8f4b841657e2
-rw-r--r-- | org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl9.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl9.java b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl9.java index 12fb1a65ad..81a5f8a957 100644 --- a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl9.java +++ b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl9.java @@ -32,6 +32,7 @@ import org.eclipse.jdt.internal.compiler.lookup.MethodBinding; import org.eclipse.jdt.internal.compiler.lookup.ModuleBinding; import org.eclipse.jdt.internal.compiler.lookup.PackageBinding; import org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding; +import org.eclipse.jdt.internal.compiler.lookup.TagBits; import org.eclipse.jdt.internal.compiler.util.HashtableOfModule; /** @@ -93,6 +94,9 @@ public class ElementsImpl9 extends ElementsImpl { if (null == binding) { return null; } + if ((binding.tagBits & TagBits.HasMissingType) != 0) { + return null; + } return new TypeElementImpl(_env, binding, null); } |