Community
Participate
Working Groups
It would be very helpful to suppress certain known warnings for load-time weaving. I would like to have the ability to reference an Xlint file or give Xlint directives directly in the aop.xml file.
<weaver options="-Xlint:none" /> works today (or similar), but you cannot provide finer grained Xlint configuration I want to avoid the file dependancy since the file would have to be somewhere packed in the deployed unit. Is this fine grained configuration possible on command line without using a file ?
I believe the command line offers just -Xlint:<level> set default level for crosscutting messages (<level> may be ignore, warning, or error) Unless you want to use a properties file: -Xlintfile <file> specify properties file to set per-message levels (cf org/aspectj/weaver/XlintDefault.properties) I think it would be better if you could specify any settings using aop.xml, but having a well-known name like META-INF/Xlint.properties that it checks would be a reasonable alternative to give the functionality with little effort.
committed impl for -Xlint:default, -Xlint:none etc in aop.xml weaver options + -Xlintfile:pathToResourceVisibleFromClassLoaderOFAOPXML give it a try at next snapshot
LATER/REMIND bugs are being automatically reopened as P5 because the LATER and REMIND resolutions are deprecated.