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 8210 Details for
Bug 53012
declare precedence on a class should be a compile-time error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for: weaver/src/org/aspectj/weaver/patterns/DeclarePrecedence.java
DeclarePrecedencePatch.txt (text/plain), 967 bytes, created by
Andrew Clement
on 2004-02-27 11:13:45 EST
(
hide
)
Description:
Patch for: weaver/src/org/aspectj/weaver/patterns/DeclarePrecedence.java
Filename:
MIME Type:
Creator:
Andrew Clement
Created:
2004-02-27 11:13:45 EST
Size:
967 bytes
patch
obsolete
>Index: DeclarePrecedence.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/weaver/src/org/aspectj/weaver/patterns/DeclarePrecedence.java,v >retrieving revision 1.3 >diff -u -r1.3 DeclarePrecedence.java >--- DeclarePrecedence.java 26 Feb 2003 10:59:03 -0000 1.3 >+++ DeclarePrecedence.java 27 Feb 2004 15:57:26 -0000 >@@ -82,6 +82,13 @@ > } > ResolvedTypeX exactType = pi.getExactType().resolve(scope.getWorld()); > if (exactType == ResolvedTypeX.MISSING) continue; >+ >+ if (!exactType.isAspect()) { >+ scope.getWorld().showMessage(IMessage.ERROR, >+ "Non-aspect types cannot be specified in a declare precedence statement. Non-aspect type is : "+exactType.getName(), >+ pi.getSourceLocation(),null); >+ } >+ > for (int j=0; j < patterns.size(); j++) { > if (j == i) continue; > TypePattern pj = patterns.get(j);
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 53012
: 8210