JDK-8153362: [jigsaw] Add javac -Xlint warning to list exposed types which are not accessible
mandy.chung at oracle.com
Mon Jun 13 20:37:13 UTC 2016
I agree JSObject.getWindow(Applet) should have forRemoval=true, as I raised in awt-dev thread. The confusion there was when the API marked forRemoval=true in JDK 9 and when it should really be removed.
> On Jun 13, 2016, at 12:53 PM, Philip Race <philip.race at oracle.com> wrote:
> See the comment here : http://mail.openjdk.java.net/pipermail/awt-dev/2016-June/011478.html
> Probably you should chime in directly on that discussion with such input ..
> On 6/13/16, 12:47 PM, Alan Bateman wrote:
>> On 13/06/2016 20:26, Philip Race wrote:
>>> PS .. also you probably should just suppress lint on the jdk.jsobject module
>>> The change you propose to JSObject is going to cause a potential conflict
>>> with the ongoing review discussion about this here :-
>> Speaking of, shouldn't this have forRemoval=true? The reason that jdk.jsobject doesn't `requires public java.desktop` is because we expect getWindow(Applet) will eventually be removed and we don't want to trip up those that might be relying on it to access APIs exported by java.desktop.
More information about the compiler-dev