JavaCompiler.CompilationTask task2 = javac.getTask(null,sjfm,dl,opts,Arrays.asList("Test03.java"),null);
When getTask is given a List of sources for 'classes' it used to compile it.
It now fails with what looks to be an expected error.
It seems correct now, since there is something in the 'classes' parm but no processor option is used, but it is different than jdk7 and jdk6.
When getTask is given a List of sources for 'classes' it used to compile it.
It now fails with what looks to be an expected error.
It seems correct now, since there is something in the 'classes' parm but no processor option is used, but it is different than jdk7 and jdk6.
- duplicates
-
JDK-7142264 compiler treats source file like a class file
-
- Closed
-