Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-1090

Needs-compile not set right for test classes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2
    • Component/s: PkgMgr
    • Sprint:
      4.1.2

      Description

      Steps to reproduce:

      1. Make a new class called X. Should be marked uncompiled – do not compile it yet.
      2. Right click and create test class (XTest)
      3. Open XTest and make it create a new X() in its constructor
      4. Compile XTest only. Already this is wrong: it compiles successfully even though X still needs a compile.
      5. Edit X trivially, compile, edit, etc. Note that XTest isn't marked as needing compile, but it should be. This even applies if you rename X to X2. Clearly, the dependency isn't being tracked.

        Attachments

          Activity

            People

            • Assignee:
              nccb Neil Brown
              Reporter:
              nccb Neil Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: