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

instance variable init, consistent API and code for subclassing

XMLWordPrintable

    • 1.1
    • generic
    • solaris_2.6
    • Verified

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: