Re: RFR:8168316: Suppress deprecation warnings for Applet classes in java.desktop

2016-11-02 Thread Prasanta Sadhukhan
Do we need the suppression in JavaSoundAudioClip.java as I could not find any mention of Applet in that class? In AppletViewer.java shouldn't we need to add "deprecation" to 45 @SuppressWarnings("serial") // JDK implementation class Do we still need this 160 @SuppressWarnings("deprecation"

Re: [9] Review request for 8143914: Provide Mac-specific fullscreen support

2016-11-02 Thread Sergey Bylokhov
I guess we can extract some of the common logic in the fix, upto other reviewers, this looks fine to me. On 25.10.16 19:25, Alexander Zvegintsev wrote: Please see the updated webrev: http://cr.openjdk.java.net/~azvegint/jdk/9/8143914/02/ Thanks, Alexander. On 10/11/16 5:00 PM, Alexander Zve

Re: [9] Review request for 8061637: GraphicsEnvironment API does not detect dynamically attached graphics device

2016-11-02 Thread Philip Race
OK but I think a code comment in an answer to Sergey's question is warranted - explaining how the "new" thread is needed because of displayChanged making a synchronous call on to the toolkit thread. Otherwise it looks quite odd on its own. Also make sure this is tested both with & without D3D.

Re: Refiew Request For 6614519:[Doc] Description java.awt.dnd.DragSourceContext.getCursor() should be clarified

2016-11-02 Thread Semyon Sadetsky
+1 --Semyon On 02.11.2016 20:07, Sergey Bylokhov wrote: Looks fine. On 02.11.16 7:44, Ambarish Rapte wrote: Hi, Please review this doc change, Webrev: http://cr.openjdk.java.net/~arapte/6614519/webrev.00/ Bug: https://bugs.openjdk.java.net/b

Re: RFR:8168316: Suppress deprecation warnings for Applet classes in java.desktop

2016-11-02 Thread Sergey Bylokhov
On 20.10.16 1:14, Philip Race wrote: Well maybe but this isn't about adding deprecations it is just about of getting rid of warnings for uses of APIs that are already deprecated. ok. You are welcome to file a separate bug on that ... -phil. On 10/19/16, 2:59 PM, Sergey Bylokhov wrote: On

Re: Refiew Request For 6614519:[Doc] Description java.awt.dnd.DragSourceContext.getCursor() should be clarified

2016-11-02 Thread Sergey Bylokhov
Looks fine. On 02.11.16 7:44, Ambarish Rapte wrote: Hi, Please review this doc change, Webrev: http://cr.openjdk.java.net/~arapte/6614519/webrev.00/ Bug: https://bugs.openjdk.java.net/browse/JDK-6614519 Change: /DragSourceContext/uses either

Re: [9] Review request for 8159432: [PIT][macosx] StackOverflow in closed/java/awt/Dialog/DialogDeadlock/DialogDeadlockTest

2016-11-02 Thread Alexander Zvegintsev
+1 Thanks, Alexander. On 11/1/16 10:59 PM, Sergey Bylokhov wrote: Looks fine. On 05.10.16 11:45, Semyon Sadetsky wrote: To avoid this the 8139218 solution is revisited to manage the focus restore synchronously only if it is possible and send a single asynchronous focus request otherwise. Ca

Re: Review Request JDK:-8162959 [HiDPI] screenshot artifacts using AWT Robot

2016-11-02 Thread Prem Balakrishnan
Hi Alexander, Please review updated patch. http://cr.openjdk.java.net/~pkbalakr/8162959/webrev.01/ Added a new public API "Image createHiDPIScreenCapture(Rectangle screenRect)". Returns an ordinary screenshot(BufferedImage) if the UI scale is 1. Returns MultiResolutionImage for HiDPI

Re: Fix for JDK-8160146 : Resolve disabled GCC warning 'deprecated-declarations' for libawt_xawt

2016-11-02 Thread Ajit Ghaisas
Can I get another +1 for this fix? Regards, Ajit -Original Message- From: Erik Joelsson Sent: Thursday, October 27, 2016 3:30 PM To: Ajit Ghaisas; build-...@openjdk.java.net; awt-dev@openjdk.java.net Subject: Re: Fix for JDK-8160146 : Resolve disabled GCC warning 'deprecated-declaration