compiler treats source file like a class file

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 8
    • Component/s: tools
    • None
    • generic
    • generic

      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.

            Assignee:
            Unassigned
            Reporter:
            Steve Sides (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: