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

instance variable init, consistent API and code for subclassing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      generic
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Backports

        Description

        Noninherited instance variables in classes:
        java.naming.CannotProceedException
        java.naming.LinkException
        java.naming.NamingException
        java.naming.directory.AttributeModificationException

        are not fully or consistently specified in documentation as to
        their function, initial states in various constructors, or
        translation in toString() operations. Note whenever a new constructor
        is defined the initializers cannot be cut and pasted from the
        old constructor API.


        Documentation for nearly identical subclasses with identical functionality
        have inconsistencies, such as java.naming.LinkLoopException or
        java.naming.MalformedLinkException first constructor not saying
        some fields are intialized to null,
        yet this fact is stated in the identical parent class,
        java.naming.LinkException



        brian.preston@eng 1997-10-23

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rleesunw Rosanna Lee (Inactive)
                Reporter:
                bprestonsunw Brian Preston (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: