Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 33933 Details for
Bug 125810
Missing error when inherited abstract pointcut not made concrete in sub-@aspect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed fix
pr125810-org-aspectj-ajdt-core-patch.txt (text/plain), 1.34 KB, created by
Helen Beeken
on 2006-02-01 08:16:03 EST
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Helen Beeken
Created:
2006-02-01 08:16:03 EST
Size:
1.34 KB
patch
obsolete
>Index: src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java,v >retrieving revision 1.55 >diff -u -r1.55 AjLookupEnvironment.java >--- src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java 12 Dec 2005 19:16:12 -0000 1.55 >+++ src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java 1 Feb 2006 13:14:54 -0000 >@@ -421,7 +421,19 @@ > } > } > >- if (hasPointcuts || dec instanceof AspectDeclaration) { >+ Annotation[] annotations = dec.annotations; >+ boolean isAtAspect = false; >+ if (annotations != null) { >+ for (int i = 0; i < annotations.length; i++) { >+ Annotation annotation = annotations[i]; >+ if (annotation.resolvedType.debugName().equals("org.aspectj.lang.annotation.Aspect")) { >+ isAtAspect = true; >+ break; >+ } >+ } >+ } >+ >+ if (hasPointcuts || dec instanceof AspectDeclaration || isAtAspect) { > ReferenceType name = (ReferenceType)factory.fromEclipse(sourceType); > EclipseSourceType eclipseSourceType = (EclipseSourceType)name.getDelegate(); > eclipseSourceType.checkPointcutDeclarations();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
aclement
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 125810
:
33852
| 33933