Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2018-03-28 12:26:59 -0400
committerJay Arthanareeswaran2018-03-29 07:42:47 -0400
commit9b1349b24227ae82944926b1116c312d435e83ee (patch)
tree5c779bce8b47fd7dc3a20fcd9e84fadb9f7cc08f /org.eclipse.jdt.compiler.apt.tests
parentfd87f2811a7b8387374eea8050e0106e6019b835 (diff)
downloadeclipse.jdt.core-9b1349b24227ae82944926b1116c312d435e83ee.tar.gz
eclipse.jdt.core-9b1349b24227ae82944926b1116c312d435e83ee.tar.xz
eclipse.jdt.core-9b1349b24227ae82944926b1116c312d435e83ee.zip
Bug 533043 : [9] CLASS_OUTPUT is not set properly when
MODULE_SOURCE_PATH set for individual modules Change-Id: Ida01c29a695306b363a83023131c648137f2b5d3 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.compiler.apt.tests')
-rw-r--r--org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors8.jarbin235843 -> 235964 bytes
-rw-r--r--org.eclipse.jdt.compiler.apt.tests/resources/mod_locations/modules/mod.a/module-info.java2
-rw-r--r--org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/BatchTestUtils.java2
3 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors8.jar b/org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors8.jar
index de6b974816..bf811a9fe5 100644
--- a/org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors8.jar
+++ b/org.eclipse.jdt.compiler.apt.tests/lib/apttestprocessors8.jar
Binary files differ
diff --git a/org.eclipse.jdt.compiler.apt.tests/resources/mod_locations/modules/mod.a/module-info.java b/org.eclipse.jdt.compiler.apt.tests/resources/mod_locations/modules/mod.a/module-info.java
index 77d0566384..3f1ea9f110 100644
--- a/org.eclipse.jdt.compiler.apt.tests/resources/mod_locations/modules/mod.a/module-info.java
+++ b/org.eclipse.jdt.compiler.apt.tests/resources/mod_locations/modules/mod.a/module-info.java
@@ -1,5 +1,5 @@
@java.lang.Deprecated()
-module mod.a {
+open module mod.a {
exports abc.internal;
requires transitive java.compiler;
diff --git a/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/BatchTestUtils.java b/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/BatchTestUtils.java
index dfce8c7dad..7903d88f26 100644
--- a/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/BatchTestUtils.java
+++ b/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/BatchTestUtils.java
@@ -130,6 +130,7 @@ public class BatchTestUtils {
PrintWriter printWriter = new PrintWriter(stringWriter);
List<String> copyOptions = new ArrayList<>();
+ copyOptions.addAll(options);
copyOptions.add("-processor");
copyOptions.add(processor);
copyOptions.add("-A" + processor);
@@ -149,6 +150,7 @@ public class BatchTestUtils {
}
List<String> classes = new ArrayList<>();
try {
+ manager = compiler.getStandardFileManager(null, Locale.getDefault(), Charset.defaultCharset());
System.clearProperty(processor);
copyOptions = new ArrayList<>();
copyOptions.addAll(options);

Back to the top