diff options
author | Till Brychcy | 2018-10-13 09:45:26 +0000 |
---|---|---|
committer | Till Brychcy | 2018-10-13 13:53:27 +0000 |
commit | d33fe2c4fa66e382227d407614e9d343a136e103 (patch) | |
tree | 2876b8797692ba0dedb412730fcf47360dddc032 /org.eclipse.jdt.compiler.apt | |
parent | f6a107d3bbee6b3bf3da01547bbaf1ab5e41734d (diff) | |
download | eclipse.jdt.core-d33fe2c4fa66e382227d407614e9d343a136e103.tar.gz eclipse.jdt.core-d33fe2c4fa66e382227d407614e9d343a136e103.tar.xz eclipse.jdt.core-d33fe2c4fa66e382227d407614e9d343a136e103.zip |
Bug 540090 - Unjustified FilerException "Source file already exists" inI20181013-1800
BatchFiler
Change-Id: I85c32a63b1f74312c0de779e4efa9f43b15ecc16
Diffstat (limited to 'org.eclipse.jdt.compiler.apt')
-rw-r--r-- | org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java index 2e13d0c99f..ecc54ece1c 100644 --- a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java +++ b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2017 BEA Systems, Inc. and others + * Copyright (c) 2006, 2018 BEA Systems, Inc. and others * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -649,6 +649,9 @@ public class ElementsImpl implements Elements { if (null == binding) { return null; } + if((binding.tagBits & TagBits.HasMissingType) != 0) { + return null; + } return new TypeElementImpl(_env, binding, null); } |