Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7142261

compiler treats source file like a class file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8
    • 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.

            Unassigned Unassigned
            ssides Steve Sides
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: