[jboss-jira] [JBoss JIRA] Commented: (JBAOP-358) Handle classification of unused members not found on the classpath gracefully
Kabir Khan (JIRA)
jira-events at jboss.com
Wed Feb 7 13:01:30 EST 2007
[ http://jira.jboss.com/jira/browse/JBAOP-358?page=comments#action_12352567 ]
Kabir Khan commented on JBAOP-358:
----------------------------------
Needs a testcase and porting to trunk
> Handle classification of unused members not found on the classpath gracefully
> -----------------------------------------------------------------------------
>
> Key: JBAOP-358
> URL: http://jira.jboss.com/jira/browse/JBAOP-358
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Kabir Khan
> Assigned To: Kabir Khan
>
> class Test{
> NotOnCp field; //Not on classpath
> String field;
> }
> Weaving this class will fail if run without NotPnCp.class on the classpath. The JoinPointClassifier needs to handle this gracefully so that these members are ignored (with a warning) rather than failing weaving of the whole class. If types used by the member are not on the classpath, the application would fail at runtime anyway, so whether the member "should have been woven" or not is irrelevant.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list