[jboss-cvs] JBossAS SVN: r69388 - projects/aop/trunk/aop/src/main/org/jboss/aop.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jan 28 10:38:46 EST 2008
Author: kabir.khan at jboss.com
Date: 2008-01-28 10:38:46 -0500 (Mon, 28 Jan 2008)
New Revision: 69388
Modified:
projects/aop/trunk/aop/src/main/org/jboss/aop/Advisor.java
Log:
We get an exception using the new classloaders if not valid, catch this
Modified: projects/aop/trunk/aop/src/main/org/jboss/aop/Advisor.java
===================================================================
--- projects/aop/trunk/aop/src/main/org/jboss/aop/Advisor.java 2008-01-28 14:44:20 UTC (rev 69387)
+++ projects/aop/trunk/aop/src/main/org/jboss/aop/Advisor.java 2008-01-28 15:38:46 UTC (rev 69388)
@@ -404,6 +404,10 @@
{
//The "annotation" is probably aop metadata for which there will be no corresponding class
}
+ catch(IllegalStateException e)
+ {
+ //The classloader may be invalid, just ignore this
+ }
if (annotation == null)
{
@@ -626,6 +630,10 @@
{
//The "annotation" is probably aop metadata for which there will be no corresponding class
}
+ catch(IllegalStateException e)
+ {
+ //The classloader may be invalid, just ignore this
+ }
catch(Exception e)
{
throw new RuntimeException(e);
More information about the jboss-cvs-commits
mailing list