Spec for Class.forName() not clear about null argument behavior

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1
    • Component/s: docs
    • generic
    • generic

      The specification for Class.forName( String fullName ) does not specify behavior for argument fullName when it is null. The "default" behavior for null arguments is to throw NullPointerException. The current behavior is to throw an IllegalArgumentException. Which behavior is intended?

            Assignee:
            Alan Sommerer (Inactive)
            Reporter:
            Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: