Where from "has private access in " is logged? I'd like to suppress it

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Feb 24 11:30:50 PST 2011


On 02/24/2011 11:23 AM, Jesse Glick wrote:
> On 02/24/2011 12:14 PM, Gabriele Kahlout wrote:
>> Who logs this, javac
>
> Grepping JDK 7 sources reveals 
> com.sun.tools.javac.comp.Resolve.AccessError.getDiagnostic. Whether 
> there is some way to suppress the message from an annotation 
> processor, I have no clue.

javac does not provide control over what annotation processors choose to 
report.

-- Jon



More information about the compiler-dev mailing list