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

Cannot re-create removed class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: Project management

      Description

      Once a compiled class is removed, it is not possible anymore to create a class with the same name. Nothing seems to happen. According to the log, a NPE occurred in checkClassMatchesFile.

      I use BlueJ 3.0.0 / Win XP / Java 1.6u20

      To reproduce:


      - Create project


      - New class ... | Class type = Class name = AClass


      - Open editor; change return x + y to return 1


      - Compile & Close editor


      - Remove AClass


      - New class ... | Class type = Class name = AClass

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              external External via trac
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: