[JBoss JIRA] (JBAOP-358) Handle classification of unused members not found on the classpath gracefully
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/JBAOP-358?page=com.atlassian.jira.plugin.... ]
Kabir Khan reassigned JBAOP-358:
--------------------------------
Assignee: (was: Kabir Khan)
> Handle classification of unused members not found on the classpath gracefully
> -----------------------------------------------------------------------------
>
> Key: JBAOP-358
> URL: https://issues.jboss.org/browse/JBAOP-358
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: 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, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] (JBAOP-416) Exclude tests testing new functionality from precompiled-compatibility-tests
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/JBAOP-416?page=com.atlassian.jira.plugin.... ]
Kabir Khan reassigned JBAOP-416:
--------------------------------
Assignee: (was: Kabir Khan)
> Exclude tests testing new functionality from precompiled-compatibility-tests
> ----------------------------------------------------------------------------
>
> Key: JBAOP-416
> URL: https://issues.jboss.org/browse/JBAOP-416
> Project: JBoss AOP
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 2.0.0.CR12
> Reporter: Kabir Khan
> Priority: Optional
> Fix For: TRUNK
>
>
> Once that is done, can you do me a favour?
> Kabir says:
> build.sh -f build-test-jdk50.xml clean-tests compile-test-classes precompiled-compatibility-tests
> Kabir says:
> It weaves with aop 1.5.5.GA and runs with AOP 2.0
> Kabir says:
> some tests will fail, but most should pass
> Flávia says:
> Sure
> Kabir says:
> The tests that fail will hopefully be tests where we added some functionality in AOP 2.0 that does not exist in AOP 1.5.5.GA
> Kabir says:
> Ideally we need some way to exclude tests that are newer functionality than exists in the old version
> Kabir says:
> I'll add a JIRA for that
> Kabir says:
> since it would be good to get these automated
> Kabir says:
> I only remembered this since I spoke to Jason Green earlier about backward compatibility
> Flávia says:
> Yes. After all, we don't have a way of making new functionality work in JBAOP1.5
> Kabir says:
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months