mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-10 21:50:07 +00:00
8203398: Test test/langtools/tools/javac/options/release/ReleaseOptionCurrent.java writes into the source directory
Reviewed-by: jjg, jlahoda
This commit is contained in:
parent
2029f17855
commit
b416d3915e
@ -49,7 +49,7 @@ public class ReleaseOptionCurrent {
|
||||
try (StandardJavaFileManager fm = compiler.getStandardFileManager(null, null, null)) {
|
||||
Iterable<? extends JavaFileObject> input =
|
||||
fm.getJavaFileObjects(System.getProperty("test.src") + "/ReleaseOption.java");
|
||||
List<String> options = Arrays.asList("--release", Source.DEFAULT.name);
|
||||
List<String> options = Arrays.asList("-d", ".", "--release", Source.DEFAULT.name);
|
||||
|
||||
boolean result = compiler.getTask(null, fm, null, options, null, input).call();
|
||||
if (!result) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user