Project: AspectJ
Bug 87282 Compilation error on generic member introduction
Reported: 2005-03-07 11:27:29 | Status: resolved fixed

The compiler aborts with the following introduction code: aspect introductionToA{ private ArrayList<B> A.m_Array = new ArrayList<B>(); public void A.addB(B tmp){ m_Array.add(tmp); } } The error message is "[error] The method add(E) in the type ArrayList<E> is not applicable for the arguments (B) m_Array.add(tmp)" Compiling with AspectJ Development version (2005/02/18).

Files changed in fix:
tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java