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.
Mandy > On Jun 13, 2016, at 12:53 PM, Philip Race <philip.r...@oracle.com> wrote: > > Alan, > > 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 .. > > -phil. > > 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 :- >>> >>> http://mail.openjdk.java.net/pipermail/awt-dev/2016-June/011472.html >> 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. >> >> -Alan