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

Gabriele Kahlout gabriele at mysimpatico.com
Thu Feb 24 11:36:49 PST 2011


What about from the commandline? Can the user pass a compiler option
to suppress access warnings?

On Thu, Feb 24, 2011 at 8:30 PM, Jonathan Gibbons
<jonathan.gibbons at oracle.com> wrote:
> 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
>



-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
time(x) < Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the
email does not contain a valid code then the email is not received. A
valid code starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y
∈ L(-[a-z]+[0-9]X)).



More information about the compiler-dev mailing list