aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/resources/org/aspectj/systemtest/ajc198/ajc198.xml
blob: 06ca7d0489fa515d06f5a2e254d5d79d9ff9cc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>


<suite>

	<!-- Java ?? final, Java 16, 15 preview -->
<!--
	<ajc-test dir="features197/java15" vm="17" title="sealed class with legal subclasses">
		<compile files="Person.java Employee.java Manager.java" options="&#45;&#45;enable-preview -16" />
	</ajc-test>
-->

	<!-- Java ?? final, Java 16, 15 preview -->
<!--
	<ajc-test dir="features197/java15" vm="17" title="sealed class with illegal subclass">
		<compile files="Person.java  Employee.java Manager.java PersonaNonGrata.java" options="&#45;&#45;enable-preview -16">
			<message kind="error" file="PersonaNonGrata.java" text="should be a permitted subtype of Person"/>
		</compile>
	</ajc-test>
-->

	<!-- Java ?? final, Java 16, 15 preview -->
<!--
	<ajc-test dir="features197/java15" vm="17" title="weave sealed class">
		<compile files="Person.java Employee.java Manager.java TopManager.java PersonAspect.aj" options="&#45;&#45;enable-preview -16" />
		<run class="TopManager" vmargs="&#45;&#45;enable-preview">
			<stdout>
				<line text="Hello Sir John" />
				<line text="CEO" />
			</stdout>
		</run>
	</ajc-test>
-->

	<!-- Javac/ECJ 9+ compiler option, but belated implementation in AJC 1.9.7 -->
	<ajc-test dir="features198/compiler_release" vm="9" title="compile to older JDK release">
		<compile files="Buffers.java" options="--release 8"/>
	</ajc-test>

</suite>