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

(spec) Package.toString() format not specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      Name: ksC84122 Date: 04/27/99


      The javadoc for JDK 1.2.2 java.lang.Package.toString() states:
      ----
      public String toString()

           Returns the string representation of this Package. Its value is the
           string "package " and the package name. If the package title is defined
           it is appended. If the package version is defined it is appended.
      ----

      It is not specified how the <package title> and <package version> are appended.
      In fact <package name>, <package title> and <package version> are
      separated with commas and <package version> consists of the word "version" and
      the actual version number separated with a space in JDK 1.2.2.

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            iris Iris Clark
            Reporter:
            skosunw Sko Sko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: