Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] How to disable [Xlint:typeNotExposedToWeaver] and is it a bad warning

Ha all-,
I am getting this warning with AJC1.2:
-----------------------------------------
PerstGeometry.aj:14 warning this affected type is not
exposed to the weaver:
org.geotools.feature.FeatureType
[Xlint:typeNotExposedToWeaver]
declare parents:
                    (
                           com.vividsolutions.jts..
                        ||
org.geotools.feature.AttributeType+
                        ||
org.geotools.feature.Feature+
                        ||
org.geotools.feature.FeatureType+
                        ||
org.geotools.feature.FeatureCollection+
                    )  implements AutoPersist;

-----------------------------------------

I do not understand why AJC insists on having the Java
source code - if it happens to be J2SE 5.0 stuff (with
generics, enums,etc.) - it won't understand it... I am
pretty sure AJC has access to the compiled class,
since I can clearly see the relevant jar file with on
the AJC's classpath?

How do I disable this warning and is it dangerous?

Thanks
Hristo
 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Back to the top