subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r916752 - /subversion/trunk/build/ac-macros/java.m4
Date Fri, 26 Feb 2010 16:47:38 GMT
Author: hwright
Date: Fri Feb 26 16:47:38 2010
New Revision: 916752

URL: http://svn.apache.org/viewvc?rev=916752&view=rev
Log:
* build/ac-macros/java.m4
  (SVN_FIND_JDK): Add the 'unchecked' flag to the Java compiler if in debug
    mode.

Modified:
    subversion/trunk/build/ac-macros/java.m4

Modified: subversion/trunk/build/ac-macros/java.m4
URL: http://svn.apache.org/viewvc/subversion/trunk/build/ac-macros/java.m4?rev=916752&r1=916751&r2=916752&view=diff
==============================================================================
--- subversion/trunk/build/ac-macros/java.m4 (original)
+++ subversion/trunk/build/ac-macros/java.m4 Fri Feb 26 16:47:38 2010
@@ -158,7 +158,7 @@
     if test -z "$JAVAC_FLAGS"; then
       JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
       if test "$enable_debugging" = "yes"; then
-        JAVAC_FLAGS="-g $JAVAC_FLAGS"
+        JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
       fi
     fi
 



Mime
View raw message