mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-28 17:57:06 +02:00
Fix for Bugzilla Bug 59596
Null pointer exception while weaving java.awt.Label
This commit is contained in:
parent
be37b08745
commit
a97f3b6758
@ -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)";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user