Bug 105416

Summary: LTW warnings for Collection Members?!
Product: [Tools] AspectJ Reporter: Ron Bodkin <rbodkin+LISTS>
Component: CompilerAssignee: Alexandre Vasseur <avasseur>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: DEVELOPMENT   
Target Milestone: 1.5.0 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.