diff options
author | Andy Clement <aclement@pivotal.io> | 2016-06-17 10:40:29 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2016-06-17 10:40:29 -0700 |
commit | 34f33f6948799dd57aeef1d8422f796fbd6d416d (patch) | |
tree | 805c1d6cd7bd2c6868e519f6c34a8f3fcb7f634c /tests/bugs190 | |
parent | f8b86ff2c03a77e47e87573b59bc43c57cfdee38 (diff) | |
download | aspectj-34f33f6948799dd57aeef1d8422f796fbd6d416d.tar.gz aspectj-34f33f6948799dd57aeef1d8422f796fbd6d416d.zip |
Upgrading to latest 1.9 compiler
Diffstat (limited to 'tests/bugs190')
-rw-r--r-- | tests/bugs190/modules/aspect1/Azpect1.java | 5 | ||||
-rwxr-xr-x | tests/bugs190/modules/cpl.sh | 4 | ||||
-rw-r--r-- | tests/bugs190/modules/module1/Code.java | 6 | ||||
-rw-r--r-- | tests/bugs190/modules/module1/a/b/c/Code.class | bin | 0 -> 425 bytes | |||
-rw-r--r-- | tests/bugs190/modules/module1/module-info.class | bin | 0 -> 124 bytes | |||
-rw-r--r-- | tests/bugs190/modules/module1/module-info.java | 2 | ||||
-rw-r--r-- | tests/bugs190/modules/module1/module-one.jar | bin | 0 -> 1315 bytes | |||
-rw-r--r-- | tests/bugs190/modules/play/m | 11 | ||||
-rw-r--r-- | tests/bugs190/modules/play/src/a/module-info.java | 2 | ||||
-rw-r--r-- | tests/bugs190/modules/play/src/b/module-info.java | 2 |
10 files changed, 32 insertions, 0 deletions
diff --git a/tests/bugs190/modules/aspect1/Azpect1.java b/tests/bugs190/modules/aspect1/Azpect1.java new file mode 100644 index 000000000..6106916af --- /dev/null +++ b/tests/bugs190/modules/aspect1/Azpect1.java @@ -0,0 +1,5 @@ +public aspect Azpect1 { + before(): execution(* main(..)) { + System.out.println("Azpect1.before running"); + } +} diff --git a/tests/bugs190/modules/cpl.sh b/tests/bugs190/modules/cpl.sh new file mode 100755 index 000000000..ca5f7b057 --- /dev/null +++ b/tests/bugs190/modules/cpl.sh @@ -0,0 +1,4 @@ +cd module1 +javac module-info.java Code.java -d . +jar -cvMf module-one.jar * +cd .. diff --git a/tests/bugs190/modules/module1/Code.java b/tests/bugs190/modules/module1/Code.java new file mode 100644 index 000000000..5cc9632d1 --- /dev/null +++ b/tests/bugs190/modules/module1/Code.java @@ -0,0 +1,6 @@ +package a.b.c; +public class Code { + public static void main(String []argv) { + System.out.println("Code.main running"); + } +} diff --git a/tests/bugs190/modules/module1/a/b/c/Code.class b/tests/bugs190/modules/module1/a/b/c/Code.class Binary files differnew file mode 100644 index 000000000..5d5e514b8 --- /dev/null +++ b/tests/bugs190/modules/module1/a/b/c/Code.class diff --git a/tests/bugs190/modules/module1/module-info.class b/tests/bugs190/modules/module1/module-info.class Binary files differnew file mode 100644 index 000000000..0088bd13a --- /dev/null +++ b/tests/bugs190/modules/module1/module-info.class diff --git a/tests/bugs190/modules/module1/module-info.java b/tests/bugs190/modules/module1/module-info.java new file mode 100644 index 000000000..7edf5da1f --- /dev/null +++ b/tests/bugs190/modules/module1/module-info.java @@ -0,0 +1,2 @@ +module one { +} diff --git a/tests/bugs190/modules/module1/module-one.jar b/tests/bugs190/modules/module1/module-one.jar Binary files differnew file mode 100644 index 000000000..907678e9c --- /dev/null +++ b/tests/bugs190/modules/module1/module-one.jar diff --git a/tests/bugs190/modules/play/m b/tests/bugs190/modules/play/m new file mode 100644 index 000000000..54520da0a --- /dev/null +++ b/tests/bugs190/modules/play/m @@ -0,0 +1,11 @@ +module M.N { + requires A.B; + requires public C.D; + + exports P.Q; + exports R.S to T1.U1, T2.U2; + + uses V.W; + provides X.Y with Z1.Z2; + provides X.Y with Z3.Z4; +} diff --git a/tests/bugs190/modules/play/src/a/module-info.java b/tests/bugs190/modules/play/src/a/module-info.java new file mode 100644 index 000000000..5de28f635 --- /dev/null +++ b/tests/bugs190/modules/play/src/a/module-info.java @@ -0,0 +1,2 @@ +module a { +} diff --git a/tests/bugs190/modules/play/src/b/module-info.java b/tests/bugs190/modules/play/src/b/module-info.java new file mode 100644 index 000000000..d7a65f08e --- /dev/null +++ b/tests/bugs190/modules/play/src/b/module-info.java @@ -0,0 +1,2 @@ +module b { +} |