svn commit: r1934377 - in subversion/branches/1.15.x: . build/ac-macros

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177916334643.545852.11398682604530927802@svn03-he-fi>
Author: svn-role
Date: Tue May 19 04:02:26 2026
New Revision: 1934377

Log:
Merge r1933877 from trunk:

 * r1933877
   Silence all deprecation warnings from the org.tigris JavaHL package.
   Justification:
     Unnecessary warnings hide actual problems.
   Depends: 
   Votes:
     +1: brane, dsahlberg, jcorvel

Modified:
   subversion/branches/1.15.x/   (props changed)
   subversion/branches/1.15.x/STATUS
   subversion/branches/1.15.x/build/ac-macros/java.m4

Modified: subversion/branches/1.15.x/STATUS
==============================================================================
--- subversion/branches/1.15.x/STATUS	Tue May 19 04:02:18 2026	(r1934376)
+++ subversion/branches/1.15.x/STATUS	Tue May 19 04:02:26 2026	(r1934377)
@@ -52,14 +52,6 @@ Veto-blocked changes:
 Approved changes:
 =================
 
- * r1933877
-   Silence all deprecation warnings from the org.tigris JavaHL package.
-   Justification:
-     Unnecessary warnings hide actual problems.
-   Depends: 
-   Votes:
-     +1: brane, dsahlberg, jcorvel
-
  * r1933892
    Make the JavaHL JAR an automatic module.
    Justification:

Modified: subversion/branches/1.15.x/build/ac-macros/java.m4
==============================================================================
--- subversion/branches/1.15.x/build/ac-macros/java.m4	Tue May 19 04:02:18 2026	(r1934376)
+++ subversion/branches/1.15.x/build/ac-macros/java.m4	Tue May 19 04:02:26 2026	(r1934377)
@@ -178,15 +178,12 @@ AC_DEFUN(SVN_FIND_JDK,
 
       if test "$enable_debugging" = "yes"; then
         JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
-        if test -z "$JAVAC_COMPAT_FLAGS"; then
-          JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
-        fi
       else
         dnl Ignore warnings about deprecated version 8 (from --release 8)
-        JAVAC_FLAGS="-Xlint:options"
-        if test -z "$JAVAC_COMPAT_FLAGS"; then
-          JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS"
-        fi
+        JAVAC_FLAGS="-Xlint:-options $JAVAC_FLAGS"
+      fi
+      if test -z "$JAVAC_COMPAT_FLAGS"; then
+        JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
       fi
     fi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.