aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2014-03-12 12:07:40 (EDT)
committerMike Rennie2014-03-12 12:07:40 (EDT)
commit8e0007d7496a87fec2204480ed44f37e8da72fc8 (patch)
treef5c84b5cbc67c1418ec49b686e231594c5f0b07f
parentbab3c21134eb6027345e5ba128790c641b00f37f (diff)
downloadeclipse.jdt.debug-8e0007d7496a87fec2204480ed44f37e8da72fc8.zip
eclipse.jdt.debug-8e0007d7496a87fec2204480ed44f37e8da72fc8.tar.gz
eclipse.jdt.debug-8e0007d7496a87fec2204480ed44f37e8da72fc8.tar.bz2
Change-Id: Ie1da9294ad606d241e299b6feb3eb1d547b8f7e9 Signed-off-by: Sarika Sinha <sarika.sinha@in.ibm.com>
-rw-r--r--org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java
index 9b733dd..c5b8f5d 100644
--- a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java
+++ b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java
@@ -48,6 +48,7 @@ import org.eclipse.jdt.internal.debug.core.model.JDIThread;
import com.ibm.icu.text.MessageFormat;
import com.sun.jdi.AbsentInformationException;
import com.sun.jdi.ClassNotPreparedException;
+import com.sun.jdi.InterfaceType;
import com.sun.jdi.Location;
import com.sun.jdi.NativeMethodException;
import com.sun.jdi.ObjectReference;
@@ -350,7 +351,7 @@ public class JavaLineBreakpoint extends JavaBreakpoint implements
try {
locations = type.locationsOfLine(lineNumber);
} catch (AbsentInformationException aie) {
- if ((type.modifiers() & (AccessibleImpl.MODIFIER_ACC_SYNTHETIC | AccessibleImpl.MODIFIER_SYNTHETIC)) != 0) {
+ if (((type.modifiers() & (AccessibleImpl.MODIFIER_ACC_SYNTHETIC | AccessibleImpl.MODIFIER_SYNTHETIC)) != 0)||(type instanceof InterfaceType)) {
return null;
}