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 @@ + + + + + + + + + + + + + + + + + + + + \ 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()); + } +}