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

@deprecatedNOT! is

    XMLWordPrintable

Details

    • b27
    • generic
    • generic
    • Verified

    Description



      The following program reports a use of a deprecated method:

          class A {
      /**
      * @deprecatedNOT!
      */
      void foo() {
      }
          }

          class B {
      void bar(A a) {
      a.foo();
      }
          }

      Other things to try:

        /** @deprecated* */
        /** @deprecated-my-foot */
        /** @deprecatedly */

      [The last of these is not currently a problem, but would become a problem
      in Mustang if certain proposed javac changes were made without revision.
      Good regression test, that.]

      What does the spec say about where a tag name ends? What spec??
      Based on the current implementation, I think we should be looking
      either for end of comment or for white space (as defined by
      Character.isWhitespace).


      ###@###.### 2005-2-16 04:54:27 GMT

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: