Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The support for that syntax was intentionally omitted, the reasoning being that this syntax is deprecated and there were no annotations interfaces in existence yet so we could disallow it. So, I'd call it a bug in javac. But given that javac now accepts it, it might have to be blessed just in case someone does it. No, let's just call it a bug in javac.

      -Neal

      On 12/12/06, ... wrote:
      The syntax in JLS3 9.6 seems to disallow
              
              @interface A {
                 int f()[];
              }
              
              but javac 1.5 accepts it. Bug in javac or in standard?

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              ahe Peter Ahe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: