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

Bug 425589

Summary: Display wrongly highlights Java keywords in error message
Product: [Eclipse Project] JDT Reporter: Paul Benedict <pbenedict>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: sarika.sinha
Version: 4.3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Paul Benedict CLA 2014-01-13 12:20:33 EST
The Display view highlights java keywords, but it does so indiscriminately. If I execute a line that fails with an error message, the error message gets syntax highlighting too. This is obviously a trivial problem but one to fix.

Example:
System.out.println(request.getParameterMap().size())
** Highlight and execute

Result:
	Evaluation failed. Reason(s):
		Unable to retrieve stack frame - thread not suspended.
	Evaluation failed. Reason(s):
		com.sun.jdi.InternalException: Got error code in reply:32 occurred while retrieving value.

The "while" is highlighted
Comment 1 Sarika Sinha CLA 2015-05-18 05:16:41 EDT
Can you attach a sample code which reproduces this highlighting ?
Comment 2 Eclipse Genie CLA 2020-04-10 18:54:59 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.