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 28442 Details for
Bug 113073
weaveinfo messages not reported if applying declare @method on an ITD'd method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch containing testcase
pr113073-tests-patch.txt (text/plain), 2.79 KB, created by
Helen Beeken
on 2005-10-19 10:12:33 EDT
(
hide
)
Description:
patch containing testcase
Filename:
MIME Type:
Creator:
Helen Beeken
Created:
2005-10-19 10:12:33 EDT
Size:
2.79 KB
patch
obsolete
>Index: src/org/aspectj/systemtest/ajc150/Ajc150Tests.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java,v >retrieving revision 1.101 >diff -u -r1.101 Ajc150Tests.java >--- src/org/aspectj/systemtest/ajc150/Ajc150Tests.java 18 Oct 2005 15:40:35 -0000 1.101 >+++ src/org/aspectj/systemtest/ajc150/Ajc150Tests.java 19 Oct 2005 14:07:25 -0000 >@@ -618,6 +618,10 @@ > public void testVarArgsIITDInConstructor() { > runTest("ITD varargs in constructor"); > } >+ >+ public void testWeaveInfoMessageForDeclareAtMethodOnITDdMethod() { >+ runTest("weaveinfo message for declare at method on an ITDd method"); >+ } > > // helper methods..... > >Index: src/org/aspectj/systemtest/ajc150/ajc150.xml >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml,v >retrieving revision 1.164 >diff -u -r1.164 ajc150.xml >--- src/org/aspectj/systemtest/ajc150/ajc150.xml 19 Oct 2005 09:04:38 -0000 1.164 >+++ src/org/aspectj/systemtest/ajc150/ajc150.xml 19 Oct 2005 14:07:27 -0000 >@@ -660,6 +660,14 @@ > </compile> > </ajc-test> > >+ <ajc-test dir="bugs150" title="weaveinfo message for declare at method on an ITDd method"> >+ <compile files="pr113073.java" options="-1.5 -showWeaveInfo"> >+ <message kind="weave" text="Type 'C' (pr113073.java) has intertyped method from 'D' (pr113073.java:'void C.anotherMethod()')"/> >+ <message kind="weave" text="'public void C.anotherMethod()' (pr113073.java) is annotated with @Annotation method annotation from 'B' (pr113073.java:3)"/> >+ <message kind="weave" text="Type 'C' (pr113073.java) has intertyped method from 'D' (pr113073.java:'void C.anotherMethod(java.lang.String)')"/> >+ <message kind="weave" text="'public void C.anotherMethod(String)' (pr113073.java) is annotated with @Annotation method annotation from 'B' (pr113073.java:3)"/> >+ </compile> >+ </ajc-test> > > <!-- ============================================================================ --> > <!-- ============================================================================ --> >Index: bugs150/pr113073.java >=================================================================== >RCS file: bugs150/pr113073.java >diff -N bugs150/pr113073.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ bugs150/pr113073.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,15 @@ >+@interface Annotation{} >+aspect B { >+ declare @method : public * C.anotherMethod(..) : @Annotation; // should be woven >+ declare @method : * someMethod(..) : @Annotation; // should be woven with correct weaveinfo message >+} >+ >+class C { >+} >+ >+aspect D { >+ public void C.anotherMethod(String s) { >+ } >+ public void C.anotherMethod() { >+ } >+}
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
Actions:
View
|
Diff
Attachments on
bug 113073
:
28442
|
28443
|
28502
|
28509