Re: AWT Dev [9] Review Request: 8074757 Remove java.awt.Toolkit methods which return peer types

2015-04-14 Thread Phil Race
+1 -phil. On 4/13/2015 1:44 AM, Anton V. Tarasov wrote: Hi Sergey, I'm fine with it. Regards, Anton. On 10.04.2015 18:08, Sergey Bylokhov wrote: Hello, The new version of the fix: - @deprecated tag was removed - the message was changed to UI components are unsupported by: + toolkit

Re: AWT Dev [9] Review Request: 8074757 Remove java.awt.Toolkit methods which return peer types

2015-04-13 Thread Anton V. Tarasov
Hi Sergey, I'm fine with it. Regards, Anton. On 10.04.2015 18:08, Sergey Bylokhov wrote: Hello, The new version of the fix: - @deprecated tag was removed - the message was changed to UI components are unsupported by: + toolkit http://cr.openjdk.java.net/~serb/8074757/webrev.05 On 10.04.15

Re: AWT Dev [9] Review Request: 8074757 Remove java.awt.Toolkit methods which return peer types

2015-04-07 Thread Sergey Bylokhov
On 03.04.15 20:14, Phil Race wrote: It does not need to be deprecated. It can be 'undeprecated' It was deprecated only because it was the public Toolkit method that is now gone .. Ok, I'll update it. So perhaps there's just a small adjustment needed in the case of where we use

Re: AWT Dev [9] Review Request: 8074757 Remove java.awt.Toolkit methods which return peer types

2015-04-03 Thread Phil Race
On 04/03/2015 10:15 AM, Sergey Bylokhov wrote: 03.04.15 19:59, Phil Race wrote: HeadlessToolkit.java 321 @Override 322 @SuppressWarnings(deprecation) === We don't need this any more do we ? 323 public FontPeer getFontPeer(String name, int style) { 324 if

Re: AWT Dev [9] Review Request: 8074757 Remove java.awt.Toolkit methods which return peer types

2015-04-03 Thread Alan Bateman
On 02/04/2015 16:15, Sergey Bylokhov wrote: Hello. Please review the fix for jdk 9. There are a number of public methods in the java.awt.Toolkit class, which reference the unsupported java.awt.dnd.peer and java.awt.peer interfaces. There is a decision to remove these references as

AWT Dev [9] Review Request: 8074757 Remove java.awt.Toolkit methods which return peer types

2015-04-02 Thread Sergey Bylokhov
Hello. Please review the fix for jdk 9. There are a number of public methods in the java.awt.Toolkit class, which reference the unsupported java.awt.dnd.peer and java.awt.peer interfaces. There is a decision to remove these references as described: