[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Re: [aspectj-users] aspectJ compiler crashes - is this a bug?

If any code causes the compiler to crash, it *is* a bug
that you should report to the bug database if it hasn't
been reported already by submitting the code.

I can see how this code would fail at runtime, but that's
a different matter.

Thanks -
Wes

Devi Prasad wrote:
Hi while experimenting with aspectJ 1.1.1, I found
that the compiler crashes while compiling this tiny
piece of code. The compiler produces a dump saying
that this could be a bug.
Can someone clarify why the compiler is crashing? I
havent' included the compiler dump because this is a
very small piece of code:


-----------------------------------------------------
  class test {
    public int f(int a, float s) { return 1; }
  }

  aspect oops {
    pointcut args_only() : args(int, int);

    after() : args_only() {
    }
  }
-----------------------------------------------------

Thanks


__________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com _______________________________________________ aspectj-users mailing list aspectj-users@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/aspectj-users