Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6727683
Votes 0
Synopsis Cleanup use of COMPILER_WARNINGS_FATAL in makefiles
Category java:build
Reported Against
Release Fixed 7(b32)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 20-JUL-2008
Description
Cjeanup use of COMPILER_WARNINGS_FATAL. Delete most uses in separate makefiles as part of warning hunt.
Posted Date : 2008-07-20 23:08:34.0

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.
Posted Date : 2008-07-20 23:21:41.0
Work Around
N/A
Evaluation
Minor makefile changes.
Some potential impact to adding -DNDEBUG.
Improved build time on windows with shell changes around max memory in Platform.gmk.
Posted Date : 2008-07-20 23:21:41.0

http://hg.openjdk.java.net/jdk7/build/jdk/rev/c51121419e30
Posted Date : 2008-07-28 03:54:49.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang