Bug 105416 - LTW warnings for Collection Members?!
Summary: LTW warnings for Collection Members?!
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 1.5.0 M3   Edit
Assignee: Alexandre Vasseur CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-28 03:30 EDT by Ron Bodkin CLA
Modified: 2005-08-12 12:48 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 Ron Bodkin CLA 2005-07-28 03:30:34 EDT
I am now getting this warning repeatedly in LTW from CVS HEAD using JRockIt
1.5.0_02. I wasn't seeing this before. Might this have something to do with
generics?!

warning at C:\devel\workspace\crankjAgent\src\com\crankj\monitor\resource\JdbcMo
nitor.aj:80::0 can not resolve this member: java.lang.Object[] java.util.ArrayLi
st.toArray(java.lang.Object[]) [Xlint:unresolvableMember]

I see the same error for other collections too.

I'm also seeing errors reported for unresolved types, which weren't being
reported before, and appear to be caused by trying to resolve references to
classes that wouldn't normally be referenced by the given classloader, e.g.,

error can't find type org.apache.commons.collections.set.ListOrderedSet

I'm not sure that these are causing any problems, and I need to dig further
about the latter but I wanted to mention them in case they are correlated.
Comment 1 Alexandre Vasseur CLA 2005-07-28 05:51:20 EDT
can you provide a stack trace, or some sample app ?
Comment 2 Alexandre Vasseur CLA 2005-08-12 09:40:35 EDT
any update ?
will mark as cannot reproduce next week
Comment 3 Ron Bodkin CLA 2005-08-12 12:48:55 EDT
This turned out to be a compiler bug that happened even when not load time 
weaving that has thankfully been fixed.