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

(spec) Package.toString() format not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.2
    • core-libs
    • sparc
    • solaris_2.6

      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: