RFR: JDK-8199125: --disable-warnings-as-errors does not work for native jtreg test code (original) (raw)

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Mar 6 16:25:23 UTC 2018


On 2018-03-06 17:06, Erik Joelsson wrote:

In TestFilesCompilation.gmk we still add $(CFLAGSWARNINGSAREERRORS) explicitly to CFLAGS. This is both redundant and wrong since we are now handling these flags automatically in the macro SetupNativeCompilation. The consequence is that --disable-warnings-as-errors won't work for jtreg tests.

Bug: https://bugs.openjdk.java.net/browse/JDK-8196458 Webrev: http://cr.openjdk.java.net/~erikj/8199125/webrev.01/ Looks good to me.

/Magnus

/Erik



More information about the build-dev mailing list