Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11144

Compiler does not create classfiles if compilation of unrelated compilation unit fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Commons Compiler 2.4.0
    • Commons Compiler 2.5.0
    • Commons
    • None

    Description

      SLING-7111 made it so that we (correctly) don't write out classfiles resulting from failing compilations - however, it was too aggressive in that it just stops to write classfiles altogether. That is fine if there was only a single compilation unit to begin with. Otherwise, it is a mistake as now, assuming multiple compilation units, it depends on when the failing compilation unit gets processed.

      We should only not write the classfiles for the compilation unit that failed and proceed for the other compilation units.

      Attachments

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              karlpauls Karl Pauls
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m