United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6727683 : Cleanup use of COMPILER_WARNINGS_FATAL in makefiles

Details
Type:
Bug
Submit Date:
2008-07-20
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports

Sub Tasks

Description
Cjeanup use of COMPILER_WARNINGS_FATAL. Delete most uses in separate makefiles as part of warning hunt.
Add JAVAC_MAX_WARNINGS=true so it adds  -Xlint:all to javac compiles.
For javac, change use of COMPILER_WARNINGS_FATAL to JAVAC_WARNINGS_FATAL.
Cleanup use of -DNDEBUG and amd64 settings.
Add +w option to Sun Studio C++ compilations for more warnings.
Fix Platform.sdk, Windows X64 builds got slower after use of systeminfo and shell commands to get max memory on system, builds went from 45min to over an hour.
Add -DNDEBUG to all production compiles.
Add COMPILER_WARNINGS_TO_IGNORE option so we can selecgtively ignore certain windows compiler errors.

                                    

Comments
EVALUATION

Minor makefile changes.
Some potential impact to adding -DNDEBUG.
Improved build time on windows with shell changes around max memory in Platform.gmk.
                                     
2008-07-20
EVALUATION

http://hg.openjdk.java.net/jdk7/build/jdk/rev/c51121419e30
                                     
2008-07-28



Hardware and Software, Engineered to Work Together