Skip to content

Commit d7eba5f

Browse files
committed
IProblem.UninternedIdentityComparison should be suppressed while
inspecting expressions during debugging #856
1 parent b3f1229 commit d7eba5f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/EvaluationSourceGenerator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ public static Map<String, String> getCompilerOptions(IJavaProject project) {
370370
}
371371
}
372372
options.put(JavaCore.COMPILER_TASK_TAGS, ""); //$NON-NLS-1$
373+
// We don't need this jdt.core developer specific comparison in debug mode - just disable it.
374+
options.put("org.eclipse.jdt.core.compiler.problem.uninternedIdentityComparison", "disabled"); //$NON-NLS-1$ //$NON-NLS-2$
373375

374376
toSupportedVersion(options, COMPILER_COMPLIANCE);
375377
toSupportedVersion(options, COMPILER_CODEGEN_TARGET_PLATFORM);

0 commit comments

Comments
 (0)