Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2019-01-27 13:44:52 +0000
committerStephan Herrmann2019-01-27 13:50:52 +0000
commitea9de51889c00ff80b902c9c52b47f43330d3f52 (patch)
tree9b23319d6b8b5631939fd6a782e939bbf0d33a6d /org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal
parenta564c4bb82e4a5a73ce782d5fa3c0f4e9caafd9b (diff)
downloadeclipse.jdt.core-ea9de51889c00ff80b902c9c52b47f43330d3f52.tar.gz
eclipse.jdt.core-ea9de51889c00ff80b902c9c52b47f43330d3f52.tar.xz
eclipse.jdt.core-ea9de51889c00ff80b902c9c52b47f43330d3f52.zip
Bug 543701 - javax.xml.transform.Result cannot be resolved after 4.11 M1
Change-Id: I5c947b5403d5251079aee6dc8053135ffda017ac Signed-off-by: Stephan Herrmann <stephan.herrmann@berlin.de>
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal')
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/UnresolvedReferenceBinding.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/UnresolvedReferenceBinding.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/UnresolvedReferenceBinding.java
index 18558d1801..fd4246da7d 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/UnresolvedReferenceBinding.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/UnresolvedReferenceBinding.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -107,10 +107,10 @@ ReferenceBinding resolve(LookupEnvironment environment, boolean convertGenericTo
if (targetType == null) {
char[] typeName = this.compoundName[this.compoundName.length - 1];
targetType = this.fPackage.getType0(typeName);
- if (targetType == this) { //$IDENTITY-COMPARISON$
+ if (targetType == this || targetType == null) { //$IDENTITY-COMPARISON$
if (this.fPackage instanceof SplitPackageBinding) // leverage SplitPackageBinding to avoid duplicate creation of BinaryTypeBinding
targetType = environment.askForType(this.fPackage, typeName, this.fPackage.enclosingModule);
- else
+ else if (targetType == this) //$IDENTITY-COMPARISON$
targetType = environment.askForType(this.compoundName, this.fPackage.enclosingModule);
}
if ((targetType == null || targetType == this) && CharOperation.contains('.', typeName)) { //$IDENTITY-COMPARISON$

Back to the top