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

JSR175 (12): Package annotations

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: