Author: pete.muir(a)jboss.org
Date: 2008-10-31 13:58:26 -0400 (Fri, 31 Oct 2008)
New Revision: 9474
Modified:
trunk/src/wicket/org/jboss/seam/wicket/ioc/JavassistInstrumentor.java
Log:
JBSEAM-3594, make delegated synthetic method private, thanks to Clint Popetz
Modified: trunk/src/wicket/org/jboss/seam/wicket/ioc/JavassistInstrumentor.java
===================================================================
--- trunk/src/wicket/org/jboss/seam/wicket/ioc/JavassistInstrumentor.java 2008-10-31
17:57:18 UTC (rev 9473)
+++ trunk/src/wicket/org/jboss/seam/wicket/ioc/JavassistInstrumentor.java 2008-10-31
17:58:26 UTC (rev 9474)
@@ -150,6 +150,7 @@
String newName = implementation.makeUniqueName(method.getName());
CtMethod newMethod = CtNewMethod.copy(method, newName, implementation,
null);
+ newMethod.setModifiers(Modifier.PRIVATE);
implementation.addMethod(newMethod);
method.setBody(createBody(implementation, method, newMethod));
log.trace("instrumented method " + method.getName());
Show replies by date