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

Mishandling of ArrayList in codepad/object bench

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 3.0.8
    • Fix Version/s: 3.0.9
    • Component/s: CodePad

      Description

      In the codepad enter the following:

      import java.util.*;
      new ArrayList<String>()
      

      Drag the result to the object bench and call it "al". Then enter:

      al.size()
      

      The result is an error saying "; expected". It should instead display the result of the call to the size() method.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: