This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 7dd1299384 Use Java 1.8 for tests too, otherwise they don't build.
7dd1299384 is described below

commit 7dd1299384489e9e0f00010dd91111c7b5abae84
Author: Damjan Jovanovic <[email protected]>
AuthorDate: Sun Jul 5 09:15:53 2026 +0200

    Use Java 1.8 for tests too, otherwise they don't build.
    
    Patch by: me
---
 test/build.xml                | 6 +++---
 test/smoketestdoc/aoo-ant.xml | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/build.xml b/test/build.xml
index a18ad7e7bb..c51557ddec 100644
--- a/test/build.xml
+++ b/test/build.xml
@@ -85,7 +85,7 @@
        </target>
 
        <target name="testcommon.compile" depends="testcommon.init, 
prepare.junit">
-               <javac destdir="testcommon/bin" debug="on" source="1.7" 
target="1.7" encoding="utf-8" includeantruntime="false">
+               <javac destdir="testcommon/bin" debug="on" source="1.8" 
target="1.8" encoding="utf-8" includeantruntime="false">
                        <src path="testcommon/source"/>
                        <classpath>
                                <fileset dir="lib">
@@ -105,7 +105,7 @@
        </target>
 
        <target name="testgui.compile" depends="testcommon.compile, 
testgui.init">
-               <javac destdir="testgui/bin" debug="on" source="1.7" 
target="1.7" encoding="utf-8" includeantruntime="false">
+               <javac destdir="testgui/bin" debug="on" source="1.8" 
target="1.8" encoding="utf-8" includeantruntime="false">
                        <src path="testgui/source"/>
                        <classpath>
                                <fileset dir="lib">
@@ -126,7 +126,7 @@
        </target>
 
        <target name="testuno.compile" depends="testcommon.compile, 
testuno.init">
-               <javac destdir="testuno/bin" debug="on" source="1.7" 
target="1.7" encoding="utf-8" includeantruntime="false">
+               <javac destdir="testuno/bin" debug="on" source="1.8" 
target="1.8" encoding="utf-8" includeantruntime="false">
                        <src path="testuno/source"/>
                        <classpath>
                                <fileset dir="lib">
diff --git a/test/smoketestdoc/aoo-ant.xml b/test/smoketestdoc/aoo-ant.xml
index acaf949eaf..6a5387123d 100644
--- a/test/smoketestdoc/aoo-ant.xml
+++ b/test/smoketestdoc/aoo-ant.xml
@@ -48,7 +48,7 @@
     <property name="test-idl.classes.build.dir" 
location="${build.base.dir}/test-idl/classes"/>
     <property name="test.reports.dir" 
location="${build.base.dir}/test-reports"/>
 
-    <property name="java.baseline.version" value="1.7"/>
+    <property name="java.baseline.version" value="1.8"/>
 
     <property name="main.debug" value="true"/>
     <property name="main.deprecation" value="false"/>

Reply via email to