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

java.net.URL.getDefaultPort() is missing @since 1.4 tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs
    • x86
    • linux

      A DESCRIPTION OF THE PROBLEM :
      This method appears to have been added to the API in the 1.4 release since it doesn't appear in the 1.3 javadocs. However, since it was added to 1.4, it should include a @since 1.4 tag to make it clear that it can't be used in prior versions fo the jdk.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      @since 1.4
      ACTUAL -
      no @since tag

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#getDefaultPort()

            jccollet Jean-Christophe Collet (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: