Summary: | java.lang.IllegalAccessError: tried to access class (in different package) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Dmitri Mamrukov <dym> | ||||
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> | ||||
Status: | RESOLVED WORKSFORME | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | P3 | CC: | aclement | ||||
Version: | unspecified | ||||||
Target Milestone: | 1.6.9 | ||||||
Hardware: | PC | ||||||
OS: | Windows Vista | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dmitri Mamrukov
2010-03-23 12:10:44 EDT
Created attachment 162782 [details]
An Eclipse project with aspects/classes that reproduce the error.
I just imported the project and ran the error.composite.Main - got: ====== Demonstrating the Composite design pattern (Java version)... <<< Sample AOP implementation of Composite pattern >>> Creating Composite structure... done. This is the Structure: Directory: Directory1 File: File1 (123 KB) Directory: Directory2 File: File2 (4556 KB) File: File3 (16 KB) Calling printStructure(PrintStream) on Composition.Components... <Composite>Directory: Directory1 <Leaf>File: File1 (123 KB) <Composite>Directory: Directory2 <Leaf>File: File2 (4556 KB) <Leaf>File: File3 (16 KB) ...done. Calling subSum(): on the structure... The total size of the file system is: 4695 ...done. <<< Test completed >>> public java.lang.String error.composite.Directory.toString() public void error.composite.Directory.printStructure(java.io.PrintStream) public int error.composite.Directory.subSum() public java.lang.String error.composite.File.toString() public int error.composite.File.getSize() public void error.composite.File.printStructure(java.io.PrintStream) public int error.composite.File.subSum() ...done! === Is that what comes out when it works? You didn't mention what version of AJDT you were using - can you retry on the latest? please reopen if still an issue on the latest AJDT |