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

Extensions API implemented behaviour does not match documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: Extensions API

      Description

      There are many ways in which BClass/BObject behaviour doesn't match the documentation, including:

      BObject.getBClass()
      - according to documentation throws ClassNotFoundException if "the class has been removed by the user" but in fact it throws it if the class is not compiled or the java class cannot be loaded for any other reason.

      BClass.getEditor(),hasSourceCode(),isCompiled(),compile(),getClassFile(),getJavaFile(),beginChangeSource(),endChangeSource()
      - throw undocumented NPE if the classtarget has been removed

        Attachments

          Activity

            People

            • Assignee:
              iau Ian Utting
              Reporter:
              davmac Davin McCall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: