Bug 52813 - compile error
Summary: compile error
Status: RESOLVED INVALID
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.1.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.2.1   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 08:26 EST by o.a. mendez CLA
Modified: 2004-10-21 04:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description o.a. mendez CLA 2004-02-23 08:26:16 EST
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)
Comment 1 Adrian Colyer CLA 2004-02-23 09:56:08 EST
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.
Comment 2 Andrew Clement CLA 2004-07-29 09:42:51 EDT
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 ?
Comment 3 Andrew Clement CLA 2004-08-09 09:40:57 EDT
Closing bug for reasons given in the previous comment - please reopen if it is
still a problem.
Comment 4 Adrian Colyer CLA 2004-10-21 04:32:48 EDT
Fix released as part of AspectJ 1.2.1