Skip to content

Commit f12182c

Browse files
authored
IProblem.UninternedIdentityComparison should be suppressed while inspecting expressions during debugging #856
#857 Also-by: Srikanth Sankaran <srikanth.sankaran@advantest.com>
1 parent b3f1229 commit f12182c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)