<AWT Dev> [OpenJDK 2D-Dev] JDK 9 RFR of JDK-8067092: Suppress windows-specific deprecation warnings in the java.desktop module
philip.race at oracle.com
Tue Dec 16 17:24:31 UTC 2014
We really need to figure out what to do about getPeer() - for this and
for jigsaw ..
On 12/16/2014 9:10 AM, joe darcy wrote:
> On 12/16/2014 3:15 AM, Alan Bateman wrote:
>> On 16/12/2014 06:07, joe darcy wrote:
>>> Please review the next step of suppressing the deprecation warnings
>>> the client libraries, this time in windows-specific desktop code:
>>> JDK-8067092: Suppress windows-specific deprecation warnings in
>>> the java.desktop module
>> Lots more getPeer :-)
>> The change looks okay to me and the same techniques to reduce these
>> as per the other thread.
> Yes, same techniques as before -- for each warning, add
> "@SuppressWarning("deprecation")" to the enclosing method (or to the
> field for a field initializer expression). Some @SuppressWarning
> annotations cover multiple warning instances.
More information about the awt-dev