Test framework used by langtools regression tests can produce false positives

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: 26, 27
    • Component/s: tools
    • b09

      There is a test framework used by various tests and located at:

      test/langtools/lib/combo/tools/javac/combo/JavacTemplateTestBase.java

      it has an invocation to JavacTask::analyze, which doesn't produce a full compilation. This is OK in most cases but it could return false positives if for some reason the compiler fails in a later phase.

      There are several tests depending on this tool that are affected.

            Assignee:
            Chen Liang
            Reporter:
            Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: