Bug 116254 - AjTypeSystem interface cannot be used in LTW environment
Summary: AjTypeSystem interface cannot be used in LTW environment
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.0RC1   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 11:16 EST by Matthew Webster CLA
Modified: 2005-11-23 10:04 EST (History)
0 users

See Also:


Attachments
Testcase (1.78 KB, application/octet-stream)
2005-11-14 11:21 EST, Matthew Webster CLA
no flags Details
Fix (2.29 KB, application/octet-stream)
2005-11-14 11:23 EST, Matthew Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Webster CLA 2005-11-14 11:16:55 EST
This API uses unqualified calls to Class.forName(). See bug 116229 for more 
details. The attached patches better simulate a run-time environment and a fix 
that uses the class loader associated with the type provided by the user.
Comment 1 Matthew Webster CLA 2005-11-14 11:21:29 EST
Created attachment 29872 [details]
Testcase

1. <run ltw=""> to similuate realistic runtime environment
2. Use -outxml to generate aop.xml
Comment 2 Matthew Webster CLA 2005-11-14 11:23:50 EST
Created attachment 29873 [details]
Fix

Use class loader of user supplied type for resolution.
Comment 3 Adrian Colyer CLA 2005-11-23 08:13:52 EST
patches integrated, thanks :)
Comment 4 Adrian Colyer CLA 2005-11-23 10:04:45 EST
fix now available