Bug 75522 - "can't find type [I" in problems view
Summary: "can't find type [I" in problems view
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2.1 M1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.5.0   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-02 11:50 EDT by Eric Bodden CLA
Modified: 2006-05-30 09:08 EDT (History)
0 users

See Also:


Attachments
The input .java file. (36.53 KB, text/plain)
2004-10-02 11:51 EDT, Eric Bodden CLA
no flags Details
aspect causing error (1.57 KB, text/plain)
2004-11-14 18:38 EST, Eric Bodden CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Bodden CLA 2004-10-02 11:50:45 EDT
The attached class raises this error in the problems view (however, no marker is 
set anywhere on the editor). What could cause that exception?
This problem only arises, when I change the sourcecode and bytecode 
compatibility level to 1.4.
Myself, I am using the JDK 1.5 at the moment.


Here the problems view content:

Severity	Description	Resource	In Folder	Location	Creation Time
2	can't find type [I	BlowfishECB.java	wevoke-server/src/dw/wevoked/
clientconnect/codec		2. Oktober 2004 17:37:37
Comment 1 Eric Bodden CLA 2004-10-02 11:51:41 EDT
Created attachment 14962 [details]
The input .java file.
Comment 2 Eric Bodden CLA 2004-10-02 11:58:53 EDT
Addition: The file *is* compiled, though the error occurs.
Comment 3 Eric Bodden CLA 2004-10-04 11:29:15 EDT
Yet an addition: The marker type is a general "Problem", not "Java Problem". 
Maybe that helps...
Comment 4 Philipe Mulet CLA 2004-10-27 05:19:55 EDT
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.
Comment 5 Philipe Mulet CLA 2004-10-27 05:20:40 EDT
Do you have other tools installed which would be processing these files (or
generated binaries) ?
Comment 6 Eric Bodden CLA 2004-11-14 18:34:40 EST
Actually I just found out that it's related to AspectJ. Sorry for the confusion. 
Moving to AspectJ...
Comment 7 Eric Bodden CLA 2004-11-14 18:38:39 EST
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
Comment 8 Eric Bodden CLA 2004-11-14 18:42:18 EST
To the AspectJ people: Please be reminded that the marker type is *not* "AspectJ 
problem", which I find astonishing...
Comment 9 Adrian Colyer CLA 2005-09-24 05:44:34 EDT
Andy, this looks like a duplicate of the bug you found and fixed this week while building shadows?
Comment 10 Andrew Clement CLA 2006-05-30 09:08:57 EDT
believed already fixed.