diff options
author | Andy Clement <aclement@pivotal.io> | 2018-02-14 14:03:53 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2018-02-14 14:03:53 -0800 |
commit | cf7484b3d30f12ea64eb2a936e1cbd05f2da8291 (patch) | |
tree | 8e4dde6a4b2f01d0c397afa1241bdc68e81f5d78 /tests/bugs190 | |
parent | 53262b4d0ba9b01de0979fca222838dd846396e9 (diff) | |
download | aspectj-cf7484b3d30f12ea64eb2a936e1cbd05f2da8291.tar.gz aspectj-cf7484b3d30f12ea64eb2a936e1cbd05f2da8291.zip |
more tests around module options
Diffstat (limited to 'tests/bugs190')
-rw-r--r-- | tests/bugs190/modules/ggg/aaa/bbb/A.java | 9 | ||||
-rw-r--r-- | tests/bugs190/modules/ggg/ddd/D.java | 5 | ||||
-rw-r--r-- | tests/bugs190/modules/ggg/foo.jar | bin | 0 -> 318 bytes | |||
-rw-r--r-- | tests/bugs190/modules/ggg/module-info.java | 3 | ||||
-rw-r--r-- | tests/bugs190/modules/hhh/aaa/bbb/A.java | 9 | ||||
-rw-r--r-- | tests/bugs190/modules/hhh/ddd/D.java | 5 | ||||
-rw-r--r-- | tests/bugs190/modules/hhh/module-info-a.java | 3 | ||||
-rw-r--r-- | tests/bugs190/modules/hhh/module-info-b.java | 3 | ||||
-rw-r--r-- | tests/bugs190/modules/iii/UsesJAXB.java | 21 |
9 files changed, 58 insertions, 0 deletions
diff --git a/tests/bugs190/modules/ggg/aaa/bbb/A.java b/tests/bugs190/modules/ggg/aaa/bbb/A.java new file mode 100644 index 000000000..ca15681c6 --- /dev/null +++ b/tests/bugs190/modules/ggg/aaa/bbb/A.java @@ -0,0 +1,9 @@ +package aaa.bbb; +import ddd.D; + +public class A { + public static void main(String []argv) { + System.out.println("A running"); + D.foo(); + } +} diff --git a/tests/bugs190/modules/ggg/ddd/D.java b/tests/bugs190/modules/ggg/ddd/D.java new file mode 100644 index 000000000..d5a992d6e --- /dev/null +++ b/tests/bugs190/modules/ggg/ddd/D.java @@ -0,0 +1,5 @@ +package ddd; + +public class D { + public static void foo() {} +} diff --git a/tests/bugs190/modules/ggg/foo.jar b/tests/bugs190/modules/ggg/foo.jar Binary files differnew file mode 100644 index 000000000..d17415c0e --- /dev/null +++ b/tests/bugs190/modules/ggg/foo.jar diff --git a/tests/bugs190/modules/ggg/module-info.java b/tests/bugs190/modules/ggg/module-info.java new file mode 100644 index 000000000..60e9fdc99 --- /dev/null +++ b/tests/bugs190/modules/ggg/module-info.java @@ -0,0 +1,3 @@ +module my.module { + exports aaa.bbb; +} diff --git a/tests/bugs190/modules/hhh/aaa/bbb/A.java b/tests/bugs190/modules/hhh/aaa/bbb/A.java new file mode 100644 index 000000000..ca15681c6 --- /dev/null +++ b/tests/bugs190/modules/hhh/aaa/bbb/A.java @@ -0,0 +1,9 @@ +package aaa.bbb; +import ddd.D; + +public class A { + public static void main(String []argv) { + System.out.println("A running"); + D.foo(); + } +} diff --git a/tests/bugs190/modules/hhh/ddd/D.java b/tests/bugs190/modules/hhh/ddd/D.java new file mode 100644 index 000000000..d5a992d6e --- /dev/null +++ b/tests/bugs190/modules/hhh/ddd/D.java @@ -0,0 +1,5 @@ +package ddd; + +public class D { + public static void foo() {} +} diff --git a/tests/bugs190/modules/hhh/module-info-a.java b/tests/bugs190/modules/hhh/module-info-a.java new file mode 100644 index 000000000..c6a7a0321 --- /dev/null +++ b/tests/bugs190/modules/hhh/module-info-a.java @@ -0,0 +1,3 @@ +module my.module.a { + exports ddd; +} diff --git a/tests/bugs190/modules/hhh/module-info-b.java b/tests/bugs190/modules/hhh/module-info-b.java new file mode 100644 index 000000000..2300541ab --- /dev/null +++ b/tests/bugs190/modules/hhh/module-info-b.java @@ -0,0 +1,3 @@ +module my.module.b { + exports aaa.bbb; +} diff --git a/tests/bugs190/modules/iii/UsesJAXB.java b/tests/bugs190/modules/iii/UsesJAXB.java new file mode 100644 index 000000000..5eb9e59bc --- /dev/null +++ b/tests/bugs190/modules/iii/UsesJAXB.java @@ -0,0 +1,21 @@ +import javax.xml.transform.TransformerFactory;
+import javax.xml.bind.JAXBContext;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+//import org.slf4j.Logger;
+//import org.slf4j.LoggerFactory;
+import org.w3c.dom.Document;
+
+public class UsesJAXB {
+
+ // private static final Logger LOG = LoggerFactory.getLogger(UsesJAXB.class);
+
+ TransformerFactory tf = TransformerFactory.newInstance();
+
+ public UsesJAXB() {
+ // LOG.error("UMS001");
+ Document document;
+ JAXBContext context;
+ }
+
+}
|