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

toString exceptions spec, null-reference specs for all classes

XMLWordPrintable

    • 1.1
    • generic
    • solaris_2.6
    • Verified

        These two general "bugs" have wide scope covering at least every Exception
        class, and possibly other classes in the JNDI packages

        There is inadequate specification of format of toString methods in
        ALL exceptions (java.naming.* and java.naming.directory.*).
        This enables nonfunctional implementations that do not fulfill
        the intent of the method, especially in:

        java.naming.NamingException and subclasses

        java.naming.CannotProceedException

        java.naming.LinkException and subclasses

        java.naming.directory.AttributeModificationException

        each description should contain a mention of the information
        conveyed by the method as well as the format of this information.
        This aids product testing efforts as well as
        enabling JCK tests to be written. Note also usability is greatly
        improved for the end user.


        Behavior in null-reference cases is not described in most exception
        methods. See also "toString" and its various cases in any
        and all exception classes, especially AttributeModificationException

              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: