Fix for Bugzilla Bug 59596

Null pointer exception while weaving java.awt.Label
This commit is contained in:
aclement 2004-04-23 16:24:27 +00:00
parent be37b08745
commit a97f3b6758

View File

@ -40,7 +40,8 @@ public class EclipseAdapterUtils {
int endPosition = problem.getSourceEnd();
if ((startPosition > endPosition)
|| ((startPosition <= 0) && (endPosition <= 0)))
|| ((startPosition <= 0) && (endPosition <= 0))
|| compilationUnit==null)
//return Util.bind("problem.noSourceInformation"); //$NON-NLS-1$
return "(no source information available)";