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

Future-dated source files cannot be compiled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 3.1.5
    • Fix Version/s: 4.1.0
    • Component/s: Compiler

      Description

      Java source files with a date set in the future result in an uncompilable class in BlueJ. Compiling the class appears to succeed, except that the "uncompiled" stripes remain on the class and it cannot be instantiated etc.

      It would be trivial to get the class to display correctly after compilation (and allow instantiation etc) but if the date is not corrected, the file will show as uncompiled again when the project is closed/re-opened. The correct fix is to either change the file date or display a warning.

      (The opposite issue
      - when the class file is future-dated
      - is not so much a problem. BlueJ will still mark the file uncompiled if it is changed, and re-compile it, which causes the date to be reset).

        Attachments

          Activity

            People

            • Assignee:
              hitech Hamza Hamza
              Reporter:
              davmac Davin McCall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: