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

Gabriele Kahlout gabriele at mysimpatico.com
Fri Feb 25 12:13:37 PST 2011

What about the release of the jdk in which this works? I've tested it (prior
to asking here) with javac 1.7.0-ea.

I''ve found another solution (not better to just not having javac complain)
where I always get the scope for the statement before the faulty one (which
will be replaced). By then the scope is correct. This worked except with the
case where the faulty stmt is the first in the enclosing block.
What I tried there is getting the scope for the treepath up to the enclosing
block but that gives the same result as getting it for the first statement
in that block (it seems). I wasn't expecting this, is this a bug or a
feature? I think i can modify the sample of yesterday to demonstrate.

On Fri, Feb 25, 2011 at 9:02 PM, Jonathan Gibbons <
jonathan.gibbons at oracle.com> wrote:

> On 02/24/2011 10:10 PM, Gabriele Kahlout wrote:
>> Awesome! Any reference to the bug and to the (first) version of the jdk
>> where this is fixed? Why wasn't this fixed against jdk6 versions too?
> There is no specific bug relating to your issue, meaning that the issue has
> been fixed as part of some other work.  There are over 30 changesets for the
> file in question and I would estimate that about 50% of the lines of code
> have been changed (in Resolve.java.)   Regrettably, it is not always
> practical or desirable to back port all work into earlier releases.
> -- Jon

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 ∈
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20110225/d94f4943/attachment.html 

More information about the compiler-dev mailing list