[OpenJDK 2D-Dev] <AWT Dev> Fix for JDK-8074829 : Resolve disabled warnings for libawt_headless

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Apr 20 19:27:37 UTC 2016


2d-dev added.

I am not sure but why "declaration in the code" is a bad thing and we 
should fix it?
- DISABLED_WARNINGS_solstudio := E_DECLARATION_IN_CODE

I cannot find the documentation in solaris studio for this warning.

On 20.04.16 11:57, Ajit Ghaisas wrote:
> Hi,
>
>      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 - jdk/src/java.desktop/share/native/common/java2d/opengl/OGLBlitLoops.c file becomes empty file in case of HEADLESS mode compilation.

>      Request you to review following webrev :
>      http://cr.openjdk.java.net/~aghaisas/8074829/webrev.00/
>
> Regards,
> Ajit
>


-- 
Best regards, Sergey.



More information about the 2d-dev mailing list