Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 515238

Summary: Inspect condition with "<" operator throws exception
Product: [Eclipse Project] JDT Reporter: Lars Holm <zeratul>
Component: DebugAssignee: Sarika Sinha <sarika.sinha>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: sarika.sinha
Version: 4.6   
Target Milestone: 4.7 M7   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Lars Holm CLA 2017-04-13 05:32:07 EDT
if (value < 100) {
	System.out.println("value is less than 100");
} else {
	System.out.println("value is not less than 100");			
}

In the debugger when I inspect the "if" condition I get this result:
	Syntax error on token "<", invalid AssignmentOperator
Its only the "<" operator that behaves like this the other operators work fine.

-- Configuration Details --
Product: Eclipse 4.6.3.20170314-1500 (org.eclipse.epp.package.java.product)Installed Features:
 org.eclipse.jdt 3.12.3.v20170301-0400
Versioning Plugin:
 org.eclipse.platform 4.6.3.v20170301-0400
Comment 1 Sarika Sinha CLA 2017-04-13 05:34:40 EDT

*** This bug has been marked as a duplicate of bug 510382 ***