Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2018-03-28 12:26:59 -0400
committerJay Arthanareeswaran2018-03-29 07:42:47 -0400
commit9b1349b24227ae82944926b1116c312d435e83ee (patch)
tree5c779bce8b47fd7dc3a20fcd9e84fadb9f7cc08f /org.eclipse.jdt.compiler.apt
parentfd87f2811a7b8387374eea8050e0106e6019b835 (diff)
downloadeclipse.jdt.core-9b1349b24227ae82944926b1116c312d435e83ee.tar.gz
eclipse.jdt.core-9b1349b24227ae82944926b1116c312d435e83ee.tar.xz
eclipse.jdt.core-9b1349b24227ae82944926b1116c312d435e83ee.zip
Bug 533043 : [9] CLASS_OUTPUT is not set properly when
MODULE_SOURCE_PATH set for individual modules Change-Id: Ida01c29a695306b363a83023131c648137f2b5d3 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.compiler.apt')
-rw-r--r--org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/Factory.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/Factory.java b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/Factory.java
index db40f2d7ca..1290abfc95 100644
--- a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/Factory.java
+++ b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/Factory.java
@@ -392,6 +392,9 @@ public class Factory {
if (binding instanceof SplitPackageBinding && binding.enclosingModule != null) {
binding = ((SplitPackageBinding) binding).getIncarnation(binding.enclosingModule);
}
+ if (binding == null) {
+ return null;
+ }
return new PackageElementImpl(_env, binding);
}

Back to the top