Summary: | "can't find type [I" in problems view | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Eric Bodden <eric> | ||||||
Component: | Compiler | Assignee: | Andrew Clement <aclement> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | ||||||||
Version: | 1.2.1 M1 | ||||||||
Target Milestone: | 1.5.0 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Eric Bodden
2004-10-02 11:50:45 EDT
Created attachment 14962 [details]
The input .java file.
Addition: The file *is* compiled, though the error occurs. Yet an addition: The marker type is a general "Problem", not "Java Problem". Maybe that helps... Cannot reproduce any issue with the latest. Also I did define BinConverter as follow to get your testcase to compile. public class BinConverter { public static void intToByteArray(int intValue, byte[] bytes, int pos) { } public static int byteArrayToInt(byte[] bytes, int pos) { return 0; } public static void longToByteArray(long longValue, byte[] bytes, int pos) { } } I suspect the marker you are seeing did not get generated by JDT/Core as its type seems to indicate. Do you have other tools installed which would be processing these files (or generated binaries) ? Actually I just found out that it's related to AspectJ. Sorry for the confusion. Moving to AspectJ... Created attachment 15848 [details]
aspect causing error
Output seems to be caused by this aspect.
In addition to the error noted above, I get the following warning on the first
three pointcuts:
Severity Description Resource In Folder Location
Creation Time
1 can not resolve this member: java.lang.Object [I.clone()
[Xlint:unresolvableMember] PersistentStorageAccess.aj
wevoke-server/src/dw/wevoked/aspects line 17 November 15, 2004 12:33:05 AM
1 can not resolve this member: java.lang.Object [I.clone()
[Xlint:unresolvableMember] PersistentStorageAccess.aj
wevoke-server/src/dw/wevoked/aspects line 17 November 15, 2004 12:33:05 AM
1 can not resolve this member: java.lang.Object [I.clone()
[Xlint:unresolvableMember] PersistentStorageAccess.aj
wevoke-server/src/dw/wevoked/aspects line 18 November 15, 2004 12:33:05 AM
1 can not resolve this member: java.lang.Object [I.clone()
[Xlint:unresolvableMember] PersistentStorageAccess.aj
wevoke-server/src/dw/wevoked/aspects line 18 November 15, 2004 12:33:05 AM
1 can not resolve this member: java.lang.Object [I.clone()
[Xlint:unresolvableMember] PersistentStorageAccess.aj
wevoke-server/src/dw/wevoked/aspects line 19 November 15, 2004 12:33:05 AM
1 can not resolve this member: java.lang.Object [I.clone()
[Xlint:unresolvableMember] PersistentStorageAccess.aj
wevoke-server/src/dw/wevoked/aspects line 19 November 15, 2004 12:33:05 AM
To the AspectJ people: Please be reminded that the marker type is *not* "AspectJ problem", which I find astonishing... Andy, this looks like a duplicate of the bug you found and fixed this week while building shadows? believed already fixed. |