diff options
author | Sarika Sinha | 2014-03-12 16:07:40 +0000 |
---|---|---|
committer | Mike Rennie | 2014-03-12 16:07:40 +0000 |
commit | 8e0007d7496a87fec2204480ed44f37e8da72fc8 (patch) | |
tree | f5c84b5cbc67c1418ec49b686e231594c5f0b07f | |
parent | bab3c21134eb6027345e5ba128790c641b00f37f (diff) | |
download | eclipse.jdt.debug-8e0007d7496a87fec2204480ed44f37e8da72fc8.tar.gz eclipse.jdt.debug-8e0007d7496a87fec2204480ed44f37e8da72fc8.tar.xz eclipse.jdt.debug-8e0007d7496a87fec2204480ed44f37e8da72fc8.zip |
Bug 428862 - [1.8] Unable to install breakpointP20140316-1600P20140315-1600P20140314-1600P20140314-1525P20140314-1445P20140314-0340P20140314-0315P20140314-0300P20140314-0230P20140313-1600P20140312-1600
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.java | 3 |
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 9b733dd56..c5b8f5dee 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; } |