Community
Participate
Working Groups
Message: Compile error. Stack trace: java.io.FileNotFoundException: /introduction/Point.java (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at java.io.FileOutputStream.<init>(FileOutputStream.java:62) at java.io.FileOutputStream.<init>(FileOutputStream.java:132) at org.aspectj.compiler.base.CodeGenerator.unparseTypeDec(CodeGenerator.java:148) at org.aspectj.compiler.base.CodeGenerator.unparseCompilationUnit(CodeGenerator.java:69) at org.aspectj.compiler.base.CodeGenerator.transform(CodeGenerator.java:54) at org.aspectj.compiler.base.AbstractCompilerPass.transformWorld(AbstractCompilerPass.java:45) at org.aspectj.compiler.base.JavaCompiler.internalCompile(JavaCompiler.java:368) at org.aspectj.compiler.base.JavaCompiler.compile(JavaCompiler.java:144) at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run(AspectJBuildManager.java:225)
Looks like a poor error message for a missing expected source file... what command did you issue to cause this error to occur? Where you building from a ". lst" file that referenced "/introduction/Point.java" ? Do you have a file "/introduction/Point.java" on the system (I'm presuming not) - especially if you're running on a unix variant that path looks questionable. The desired behaviour in this circumstance is presumably a message from the compiler "Missing input source file /introduction/Point.java" or similar, without dumping the stack trace.
I've tried looking for the types and packages referred to in the bug, but package 'org.aspectj.compiler' doesn't exist in 1.1.1/1.2, neither do the types CodeGenerator or JavaCompiler. I suspect this bug was encountered whilst running a version of AspectJ before the compiler was rebased on the eclipse JDT compiler. Can you confirm that? If that's the case, can you retry on AspectJ 1.2 ?
Closing bug for reasons given in the previous comment - please reopen if it is still a problem.
Fix released as part of AspectJ 1.2.1