<AWT Dev> Fix for JDK-8074829 : Resolve disabled warnings for libawt_headless
erik.joelsson at oracle.com
Fri Apr 22 07:38:45 UTC 2016
I believe at least one of the disabled warnings was specific to building
on arm or arm64. You will need to verify those platforms as well before
removing the gcc disabled warnings.
On 2016-04-20 15:04, Erik Joelsson wrote:
> Build change looks good.
> On 2016-04-20 13:30, Ajit Ghaisas wrote:
>> Adding build-dev.
>> -----Original Message-----
>> From: Ajit Ghaisas
>> Sent: Wednesday, April 20, 2016 2:28 PM
>> To: awt-dev at openjdk.java.net
>> Subject: <AWT Dev> Fix for JDK-8074829 : Resolve disabled warnings
>> for libawt_headless
>> Bug : https://bugs.openjdk.java.net/browse/JDK-8074829
>> This bug is to remove warning suppressions from makefile and fix
>> the warnings for libawt_headless library.
>> I have removed following warning suppressions & fixed the
>> warnings for libawt_headless library.
>> DISABLED_WARNINGS_gcc := maybe-uninitialized int-to-pointer-cast
>> DISABLED_WARNINGS_solstudio := E_DECLARATION_IN_CODE
>> Warning suppression that cannot be removed :
>> DISABLED_WARNINGS_solstudio := E_EMPTY_TRANSLATION_UNIT
>> This is due to the fact that -
>> file becomes empty file in case of HEADLESS mode compilation.
>> I have run the JPRT build on this fix. It built successfully on
>> all platforms - please see :
>> Also, I have built it on Windows 7 with Visual Studio 10.
>> Request you to review following webrev :
More information about the awt-dev