commit | 7f30a779e0d12ba9b8461db853225389a431bc0b | [log] [tgz] |
---|---|---|
author | Sarika Sinha <sarika.sinha@in.ibm.com> | Wed Oct 29 22:24:41 2014 +0530 |
committer | Sarika Sinha <sarika.sinha@in.ibm.com> | Wed Oct 29 22:24:41 2014 +0530 |
tree | 474966965885d7fbf9ae1447b53c265ec9d1da31 | |
parent | a4a0c4e792fe52134be81f247989a707672ea085 [diff] |
Bug 449222 - [regression] ValidBreakpointLocationLocator.getLineLocation() returns 0 as location for LOCATION_METHOD
diff --git a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/ValidBreakpointLocationLocator.java b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/ValidBreakpointLocationLocator.java index 877f2ce..739a9b4 100644 --- a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/ValidBreakpointLocationLocator.java +++ b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/ValidBreakpointLocationLocator.java
@@ -188,7 +188,7 @@ * Return the line number of the computed valid location */ public int getLineLocation() { - if (fLocationType == LOCATION_NOT_FOUND) { + if (fLocationType == LOCATION_NOT_FOUND || fLocationType == LOCATION_METHOD) { return -1; } return fLineLocation;