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;