Awful error report to syserr: use logger for this instead
---------------------------------------------------------
Key: JBAOP-515
URL:
http://jira.jboss.com/jira/browse/JBAOP-515
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR3
Reporter: Carlos XXXXX
Priority: Minor
When trying to introduce the same method twice, an error is correctly reported. But no
matter which setting is having effect (verbose true/false, suppressTransformationErrors
true/false), this error is printed directly to the console, ignoring the logging system.
This should be in an ERROR level log entry, it's not a fatal error that aborts
execution.
java.lang.RuntimeException: Mixin jbossaop.SirenMixin of pointcut
file:/home/carlos/dev/java/eclipse/test-stuff/src/jbossaop/jboss-aop.xml3 is trying to
apply an already existing methodsing for class jbossaop.Bean
at org.jboss.aop.instrument.Instrumentor.addMixin(Instrumentor.java:321)
at org.jboss.aop.instrument.Instrumentor.instrumentIntroductions(Instrumentor.java:386)
at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:725)
at
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor.transform(GeneratedAdvisorInstrumentor.java:120)
at
org.jboss.aop.SuperClassesFirstWeavingStrategy.instrumentClass(SuperClassesFirstWeavingStrategy.java:200)
at
org.jboss.aop.SuperClassesFirstWeavingStrategy.translate(SuperClassesFirstWeavingStrategy.java:70)
at org.jboss.aop.AspectManager.translate(AspectManager.java:934)
at org.jboss.aop.AspectManager.transform(AspectManager.java:880)
....
--
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