Skip to content

Commit 0962f3a

Browse files
committed
[DONT MERGE] check whether recovered binding work for codeSelect
1 parent e545fb2 commit 0962f3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pipeline {
2626
-Dtycho.buildqualifier.format="'z'yyyyMMdd-HHmm" \
2727
-Pp2-repo \
2828
-Djava.io.tmpdir=$WORKSPACE/tmp -Dproject.build.sourceEncoding=UTF-8 \
29-
-pl org.eclipse.jdt.core.javac,org.eclipse.jdt.core.javac.feature,org.eclipse.jdt.core.tests.model,org.eclipse.jdt.core.tests.compiler,repository
29+
-pl org.eclipse.jdt.core.compiler.batch,org.eclipse.jdt.core,org.eclipse.jdt.core.javac,org.eclipse.jdt.core.javac.feature,org.eclipse.jdt.core.tests.model,org.eclipse.jdt.core.tests.compiler,repository
3030
3131
mvn verify --batch-mode -f org.eclipse.jdt.core.tests.javac -Dmaven.repo.local=$WORKSPACE/.m2/repository \
3232
--fail-at-end -Ptest-on-javase-24 -Pbree-libs \

org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/DOMCodeSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public IJavaElement[] codeSelect(int offset, int length) throws JavaModelExcepti
200200
return null;
201201
} else if (findTypeDeclaration(node) == null) {
202202
IBinding binding = resolveBinding(node);
203-
if (binding != null && !binding.isRecovered()) {
203+
if (binding != null) {
204204
ITypeBinding declaringClass;
205205
if (node instanceof SuperMethodInvocation && // on `super`
206206
binding instanceof IMethodBinding methodBinding &&

0 commit comments

Comments
 (0)