You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2021/06/29 15:31:15 UTC
svn commit: r1891143 - in /db/derby/code/trunk: build.xml
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/SimpleDiff.java
Author: rhillegas
Date: Tue Jun 29 15:31:15 2021
New Revision: 1891143
URL: http://svn.apache.org/viewvc?rev=1891143&view=rev
Log:
DERBY-7110: Filter out more deprecation warnings raised at build- and run-time by changes to the JDK made to support JEP 411; commit derby-7110-03-ab-forkAntJavaTask.diff.
Modified:
db/derby/code/trunk/build.xml
db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/SimpleDiff.java
Modified: db/derby/code/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/build.xml?rev=1891143&r1=1891142&r2=1891143&view=diff
==============================================================================
--- db/derby/code/trunk/build.xml (original)
+++ db/derby/code/trunk/build.xml Tue Jun 29 15:31:15 2021
@@ -599,6 +599,7 @@
unless="checkmessages.done">
<java classname="org.apache.derbyBuild.MessageVetter"
classpath="${out.build.dir}"
+ fork="yes"
failonerror="true">
<arg file="${out.engine.dir}/org/apache/derby/loc"/>
<arg file="${out.drda.dir}/org/apache/derby/loc/drda"/>
@@ -845,6 +846,7 @@
<java classname="org.apache.derbyBuild.splitmessages"
classpath="${out.build.dir}:${out.shared.dir}"
+ fork="yes"
failonerror="true">
<arg value="${loc.engine.dir}"/>
<arg value="${loc.client.dir}"/>
Modified: db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/SimpleDiff.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/SimpleDiff.java?rev=1891143&r1=1891142&r2=1891143&view=diff
==============================================================================
--- db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/SimpleDiff.java (original)
+++ db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/harness/SimpleDiff.java Tue Jun 29 15:31:15 2021
@@ -38,6 +38,8 @@ public class SimpleDiff
// Noise line generated by JDK 17 onward. See https://openjdk.java.net/jeps/411
// and https://issues.apache.org/jira/browse/DERBY-7110
"WARNING: The Security Manager is deprecated and will be removed in a future release.",
+ "WARNING: A command line option has enabled the Security Manager",
+ "WARNING: The Security Manager is deprecated and will be removed in a future release",
};
PrintWriter pw;