Bug 124105 - -XhasMember doesn't appear to work well with types in packages
Summary: -XhasMember doesn't appear to work well with types in packages
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.5.1   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 07:41 EST by Andrew Clement CLA
Modified: 2006-01-17 11:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2006-01-17 07:41:13 EST
See Jeppe's post on the mailing list... will append more here soon.
Comment 1 Andrew Clement CLA 2006-01-17 08:44:12 EST
The problem here was that the type specified as a parameter in the hasmethod(new(OptionType)) signature was in a package and the new hasMethod typepattern support didn't resolve the signature to ensure OptionType became com.test.OptionType.  I added the missing resolve step and have integrated the testcode received from Jeppe into AJ so we can't regress.  waiting on build.
Comment 2 Andrew Clement CLA 2006-01-17 11:53:23 EST
fix available in latest AspectJ - will be in AJDT in a few days.