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

Clean up exceptions thrown when unimplemented annotations() calls are made.

XMLWordPrintable

    • b32
    • sparc
    • solaris_9


      The methods PackageDoc.annotations() and Parameter.annotations()
      cannot yet be implemented: javac does not yet provide the functionality
      upon which to implement them. These are known javac bugs and will be
      fixed eventually.

      Currently these methods throw UnsupportedOperationException("TBD").
      At the time this was coded, it was expected that javac would be fixed
      in time to provide proper implementations for Tiger. Since we're coming
      up on beta freeze, it would be prudent to hedge our bets and provide a
      more informative message such as:
      UnsupportedOperationException("Not implemented in this release").

            sseligmasunw Scott Seligman (Inactive)
            sseligmasunw Scott Seligman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: