]> source.dussan.org Git - aspectj.git/commitdiff
299552: private ITD fields stay private in target (with unmangled name): all of it
authoraclement <aclement>
Fri, 22 Jan 2010 22:52:21 +0000 (22:52 +0000)
committeraclement <aclement>
Fri, 22 Jan 2010 22:52:21 +0000 (22:52 +0000)
tests/features152/synthetic/TheWholeShow.aj

index bd91561c77620aac7e3bbfb2943f707cbe7ab70f..26361545619d8f852b0eda74385462c16eb2673f 100644 (file)
@@ -11,7 +11,7 @@ public class TheWholeShow {
   public static void main(String[] args) {
     Field[] twsFields = TheWholeShow.class.getDeclaredFields();
     for (Field f : twsFields) {
-      if (!f.getName().equals("f") && !f.getName().equals("x")  && !f.getName().startsWith("ajc$interField$")) {
+      if (!f.getName().equals("f") && !f.getName().equals("x")  && !f.getName().startsWith("y") && !f.getName().equals("z")) {
         if (!f.isSynthetic()) {
           System.err.println("Found non-synthetic field: " + f.getName());
           throw new IllegalStateException("Found non-synthetic field: " + f.getName());