Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4901290

JSR175 (12): Package annotations

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 5.0
    • 1.2.0, 1.3.1, 1.4.0, 5.0
    • tools
    • b32
    • generic, x86, sparc
    • generic, solaris_8, windows_2000

    Description

      JSR175 supports annotations on packages. javac must implement this.

      - add package annotation to the syntax

      - give an error if a package annotation appears anywhere but in
        a source file named package-info.java

      - store package annotations on a synthetic class named "package-info"

      - also store javadoc that appears attached to the package declaration.
        (where?)

      Other API changes must also be made to bring the
      implementation in line with the latest draft spec.

      Attachments

        Issue Links

          Activity

            People

              gafter Neal Gafter
              gafter Neal Gafter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: