new array syntax not allowed in parameter list.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.0
    • Affects Version/s: 1.0
    • Component/s: tools
    • 1.0beta
    • sparc
    • solaris_2.4
    • Not verified

      The compiler allows a new array syntax, with []s before
      the identifier, in declarations. But not in parameter lists.
      It should allow them in parameter lists, too.
      The alpha3 compiler gives this message, for example:
      arrayHierarchy.java:20: Identifier expected.
      public static void main ( String[] x ) {
      ^
      1 error
      ganymede% which javac
      /usr/local/java/1.0a3/bin/javac

            Assignee:
            Arthur Hoff (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: