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 45335 Details for
Bug 148727
Can't call synthetic aspectOf method on aspect in library jar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
2 added test cases: integrated compilation works, separate compilation breaks.
bug148727.test.patch.txt (text/plain), 3.25 KB, created by
Ron Bodkin
on 2006-06-26 17:40:25 EDT
(
hide
)
Description:
2 added test cases: integrated compilation works, separate compilation breaks.
Filename:
MIME Type:
Creator:
Ron Bodkin
Created:
2006-06-26 17:40:25 EDT
Size:
3.25 KB
patch
obsolete
>Index: src/org/aspectj/systemtest/ajc152/Ajc152Tests.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java,v >retrieving revision 1.55 >diff -u -r1.55 Ajc152Tests.java >--- src/org/aspectj/systemtest/ajc152/Ajc152Tests.java 26 Jun 2006 07:31:37 -0000 1.55 >+++ src/org/aspectj/systemtest/ajc152/Ajc152Tests.java 26 Jun 2006 21:42:23 -0000 >@@ -108,6 +108,8 @@ > public void testJRockitBooleanReturn_pr148007() { runTest("jrockit boolean fun");} > public void testJRockitBooleanReturn2_pr148007() { runTest("jrockit boolean fun (no aspects)");} > public void testSyntheticAjcMembers_pr147711() { runTest("synthetic ajc$ members"); } >+ public void testSeparateCallAspectOf_pr148727() { runTest("separate compilation calling aspectOf and hasAspect"); } >+ public void testIntegratedCallAspectOf_pr148727() { runTest("integrated compilation calling aspectOf and hasAspect"); } > > public void testDeclareAtMethodRelationship_pr143924() { > //AsmManager.setReporting("c:/debug.txt",true,true,true,true); >Index: src/org/aspectj/systemtest/ajc152/ajc152.xml >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml,v >retrieving revision 1.50 >diff -u -r1.50 ajc152.xml >--- src/org/aspectj/systemtest/ajc152/ajc152.xml 26 Jun 2006 07:31:37 -0000 1.50 >+++ src/org/aspectj/systemtest/ajc152/ajc152.xml 26 Jun 2006 21:42:24 -0000 >@@ -783,4 +783,26 @@ > <compile files="TheWholeShow.aj" options="-1.5"/> > <run class="TheWholeShow"/> > </ajc-test> >+ >+ <ajc-test dir="bugs152/pr148727" pr="148727" >+ title="integrated compilation calling aspectOf and hasAspect" > >+ <compile files="Asp.aj, Client.java" options="-source 1.4"/> >+ <run class="Client"> >+ <stdout> >+ <line text="Can call aspectOf? Asp@"/> >+ </stdout> >+ </run> >+ </ajc-test> >+ >+ <ajc-test dir="bugs152/pr148727" pr="148727" >+ title="separate compilation calling aspectOf and hasAspect" > >+ <compile files="Asp.aj" outjar="asp.jar"/> >+ <compile files="Client.java" classpath="asp.jar" options="-source 1.4"/> >+ <run class="Client"> >+ <stdout> >+ <line text="Can call aspectOf? Asp@"/> >+ </stdout> >+ </run> >+ </ajc-test> >+ > </suite> >\ No newline at end of file >Index: bugs152/pr148727/Asp.aj >=================================================================== >RCS file: bugs152/pr148727/Asp.aj >diff -N bugs152/pr148727/Asp.aj >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ bugs152/pr148727/Asp.aj 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,2 @@ >+public aspect Asp { >+} >Index: bugs152/pr148727/Client.java >=================================================================== >RCS file: bugs152/pr148727/Client.java >diff -N bugs152/pr148727/Client.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ bugs152/pr148727/Client.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,6 @@ >+public class Client { >+ public static void main(String argz[]) { >+ assert(Asp.hasAspect()); >+ System.out.println("Can call aspectOf? "+Asp.aspectOf()); >+ } >+}
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 148727
: 45335