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

Compiler warnings are not displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.1.1
    • Fix Version/s: None
    • Component/s: Compiler
    • Sprint:
      Wish List

      Description

      Bluej 3.1.7 (and earlier) displayed compiler warnings in a pop-up dialog upon compilation. In current versions of BlueJ with automatic compilation, warnings are not displayed at all. While a pop-up dialog would certainly be annoying we should implement an alternative mechanism to display warnings.

      This affects the "Show compiler warnings when unsafe collections are used" option in the preferences. Since warnings are never displayed, this option currently has no effect. Example code to produce warning in 3.1.7:

      import java.util.*;
      
      public class Something
      {
          public Something()
          {
              ArrayList l = new ArrayList();
              l.add("hello");
          }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              davmac Davin McCall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: