Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Why Aspectj is weaving excluded packages

Hi ,
 
I specified weaving as follows in the code
 
pointcut myclass() : within(HeapAspect);
pointcut apppackage(): execution (* com.tcs..*(..));
pointcut UtilMethods() : cflow(apppackage()) && (call( * java.util..add(..)) || call( * java.util.Map..put(..))) && !myclass();
But it is trying to weave the com.ibm package as well. Is there a solution for this.
 
[java] [AppClassLoader@df6ccd] warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
  [java] [AppClassLoader@df6ccd] error at com\ibm\db2\jcc\b\kc.java::0 problem generating method com.ibm.db2.jcc.b.kc.<clinit> : Code size too big: 94185
  [java] Exception in thread "main" java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/ibm/db2/jcc/b/kc
 
Thanks,
Krishnachaitanya Jasty

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


Back to the top