Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-30 Thread Anton V. Tarasov
Hi Kevin, Right, I just assumed we would need some coordination. Thanks, Anton. On 30.03.2015 17:48, Kevin Rushforth wrote: Hi Anton, Yes, there are concerns regarding this, mainly due to the timing and build issues. After this week we are no longer auto-syncing changes from 8u-dev into 9,

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-30 Thread Kevin Rushforth
Hi Anton, Yes, there are concerns regarding this, mainly due to the timing and build issues. After this week we are no longer auto-syncing changes from 8u-dev into 9, so we are at a good point to do this, but it will need to be done carefully. I expect that we will need at least 2 weeks to

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-27 Thread Anton V. Tarasov
Hi Sergey, Kevin, This method is called from JFX/interop: DropTargetContext.java -public void addNotify(DropTargetContextPeer dtcp) { An accessor is introduced. So, we will have to pick it up in JFX/interop once the fix is in the ws. This means we won't be able to run jfx9 atop of jdk8.

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-25 Thread Sergey Bylokhov
Hello, Please review an updated version of the fix. http://cr.openjdk.java.net/~serb/8074763/webrev.02 DropTargetContext.addNotify/removeNotify were renamed and access was changed to a package private. A necessary methods were added to the AWTAccessor. 18.03.15 23:47, Phil Race wrote: I

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-18 Thread Anton V. Tarasov
Hi Sergey, The only dependency on JFX/interop is this method in DropTargetContext.java: 98 public void addNotify(final Object dtcp) throws IllegalArgumentException { Was that the reason why you left the parameter? Is it technically possible to retrieve the peer via the

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-18 Thread Sergey Bylokhov
Hi, Anton. The problem is that this method is called when the peer itself change the information in the DropTargetContext. So this method works like a setter. I can make this method private, and get an access to it via accessor. Will it be better? 18.03.15 8:27, Anton V. Tarasov wrote: Hi

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-18 Thread Sergey Bylokhov
Hi, Anton. The problem is that this method is called when the peer itself change the information in the DropTargetContext. So this method works like a setter. I can make this method private, and get an access to it via accessor. Will it be better? 18.03.15 8:27, Anton V. Tarasov wrote: Hi

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-18 Thread Phil Race
I think its preferable to remove (hide) the method rather than leave one that no application code can (or should) call because they can't provide a parameter of the required type. -phil. On 03/18/2015 09:24 AM, Sergey Bylokhov wrote: Hi, Anton. The problem is that this method is called when

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-18 Thread Anton Tarasov
My first assumption was that we can get rid of the peer parameter at all (like you did in DropTarget.java), however this doesn't seem possible regardless of JFX/interop (AFAICS). On 18/03/15 19:23, Sergey Bylokhov wrote: Hi, Anton. The problem is that this method is called when the peer

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-16 Thread Sergey Bylokhov
16.03.15 16:06, Kevin Rushforth wrote: The change looks fine to me. I tried to apply the patch (to verify that it doesn't affect JFXPanel) but got merge conflicts with the latest (as of today) jdk9/client/jdk repo. As long as Anton has verified that it doesn't break compatibility with JFXPanel

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-16 Thread Kevin Rushforth
The change looks fine to me. I tried to apply the patch (to verify that it doesn't affect JFXPanel) but got merge conflicts with the latest (as of today) jdk9/client/jdk repo. As long as Anton has verified that it doesn't break compatibility with JFXPanel I am OK with the change. -- Kevin

AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-16 Thread Sergey Bylokhov
Hello. Please review the fix for jdk 9. There are a number of public API which reference the unsupported java.awt. dnd.peer interfaces. protected java.awt.dnd.DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer, ...) public

Re: AWT Dev [9] Review Request: 8074763 Remove API references to java.awt.dnd.peer

2015-03-16 Thread Alan Bateman
On 16/03/2015 18:30, Sergey Bylokhov wrote: Hello. Please review the fix for jdk 9. There are a number of public API which reference the unsupported java.awt. dnd.peer interfaces. protected java.awt.dnd.DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer, ...) public