diff options
author | jhugunin <jhugunin> | 2002-12-23 23:17:47 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2002-12-23 23:17:47 +0000 |
commit | c453b5555c372b0052abd037adf8d6bd9b1e95b2 (patch) | |
tree | 41dd7ca19a9148fc61fa7ac53e4d21c4ad02542e /weaver/testdata/NonStaticBeforeFancyHelloWorld.txt | |
parent | 4e52d3a759b8b5b5566c186eacbffbdff21058fd (diff) | |
download | aspectj-c453b5555c372b0052abd037adf8d6bd9b1e95b2.tar.gz aspectj-c453b5555c372b0052abd037adf8d6bd9b1e95b2.zip |
fixed to use A.aspectOf() instead of A.ajc$perSingletonField for getting
singleton aspects
this lets us produce much better errors when the field is null
Diffstat (limited to 'weaver/testdata/NonStaticBeforeFancyHelloWorld.txt')
-rw-r--r-- | weaver/testdata/NonStaticBeforeFancyHelloWorld.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weaver/testdata/NonStaticBeforeFancyHelloWorld.txt b/weaver/testdata/NonStaticBeforeFancyHelloWorld.txt index 84821964a..9fc369039 100644 --- a/weaver/testdata/NonStaticBeforeFancyHelloWorld.txt +++ b/weaver/testdata/NonStaticBeforeFancyHelloWorld.txt @@ -10,7 +10,7 @@ public abstract class FancyHelloWorld extends java.lang.Object: public static void main(String[]): method-execution(void FancyHelloWorld.main(java.lang.String[])) | field-get(java.io.PrintStream java.lang.System.out) - | | GETSTATIC Aspect.ajc$perSingletonInstance LAspect; + | | INVOKESTATIC Aspect.aspectOf ()LAspect; | | INVOKEVIRTUAL Aspect.ajc_before ()V | | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 9) | field-get(java.io.PrintStream java.lang.System.out) @@ -76,4 +76,5 @@ public abstract class FancyHelloWorld extends java.lang.Object: | ARETURN method-execution(java.lang.String FancyHelloWorld.getName()) end public static String getName() + end public abstract class FancyHelloWorld |