diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-03-29 16:14:00 +0200 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-06-24 13:10:46 +0700 |
commit | e17017cd3652393047e4c5e736868492cb646643 (patch) | |
tree | 4f802d0e8cda7b2aac1703cb5d1697da73604f3f | |
parent | a45705fdb8dda6cb76ba15e7b4adfb81ebff70cc (diff) | |
download | aspectj-e17017cd3652393047e4c5e736868492cb646643.tar.gz aspectj-e17017cd3652393047e4c5e736868492cb646643.zip |
Fix tests using Javac using source/target 1.7
Javac 20+ no longer supports 1.7.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
-rw-r--r-- | tests/java5/ataspectj/ajc-ant.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/java5/ataspectj/ajc-ant.xml b/tests/java5/ataspectj/ajc-ant.xml index 5e9cedf1e..2e879c2a5 100644 --- a/tests/java5/ataspectj/ajc-ant.xml +++ b/tests/java5/ataspectj/ajc-ant.xml @@ -10,7 +10,7 @@ <target name="compile:javac"> <!-- compile only javac compilable stuff, exclude the one that needs other dependencies --> - <javac source="1.7" target="1.7" destdir="${aj.sandbox}" classpathref="aj.path" + <javac source="1.8" target="1.8" destdir="${aj.sandbox}" classpathref="aj.path" srcdir="${basedir}" includes="ataspectj/*" excludes="ataspectj/UnweavableTest.java" @@ -87,7 +87,7 @@ <target name="ltw.Aspect2MainTest"> <!-- javac Aspect2 --> - <javac source="1.7" target="1.7" destdir="${aj.sandbox}" classpathref="aj.path" + <javac source="1.8" target="1.8" destdir="${aj.sandbox}" classpathref="aj.path" srcdir="${basedir}" includes="ataspectj/ltwreweavable/Aspect2.java" debug="true"> @@ -145,7 +145,7 @@ </target> <target name="ltw.Unweavable"> - <javac source="1.7" target="1.7" destdir="${aj.sandbox}" + <javac source="1.8" target="1.8" destdir="${aj.sandbox}" srcdir="${basedir}" includes="ataspectj/UnweavableTest.java, ataspectj/TestHelper.java" debug="true"> @@ -195,7 +195,7 @@ <target name="ltw.Decp2"> <!-- javac compile the 2nd aspect --> - <javac source="1.7" target="1.7" destdir="${aj.sandbox}" + <javac source="1.8" target="1.8" destdir="${aj.sandbox}" srcdir="${basedir}" includes="ataspectj/DeclareParentsImplementsReweavableTestAspect.java" debug="true"> |