Project: AspectJ
Bug 55341 error Type mismatch: cannot convert from java.lang.String to java.lang.String
Reported: 2004-03-19 04:32:28 | Status: resolved fixed

When compiling a binary concrete aspect library (for later LTW) consisting of more than one aspect that performs an ITD on a target class not exposed to the weaver I get the following error: error Type mismatch: cannot convert from java.lang.String to java.lang.String The error does not oocur if a complete build & weave is performed. Testcase attached.

Files changed in fix:
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java tests/bugs/StringToString/HW.java tests/bugs/StringToString/X.java weaver/testsrc/org/aspectj/weaver/WeavingURLClassLoaderTest.java