Bug 17147 Java Editor: missing error indication
F1. - create new Java project - create new class Test - add the word 'Test' as shown below public class Test { Test } Observe: and error appears in the overview bar but no wiggly line. Hovering over the closing bracket shows an error hover.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ProblemPainter.java
for (Iterator e = fProblemPositions.iterator(); e.hasNext();) {
			Position p = (Position) e.next();
			if (p.overlapsWith(vOffset, vLength) && p.overlapsWith(offset , length)) {
				int p1= Math.max(offset, p.getOffset());
				int p2= Math.min(offset + length, p.getOffset() + p.getLength());
				draw(gc, p1 - offset, p2 - p1);
			}
		}
	}
	
	private int[] computePolyline(Point left, Point right, int height) {
		
		final int WIDTH= 4; 
		final int HEIGHT= 2; 
		
		int leftX= left.x;
		int peeks= (right.x - left.x) / WIDTH;
				
		
		int length= ((2 * peeks) + 1) * 2;
		if (length < 0)
			return new int[0];
			
		int[] coordinates= new int[length];
		
		
		int bottom= left.y + height - 1;
		int top= bottom - HEIGHT;