ClassLoader.defineClass(String, byte[], int, int) name parameter unclear

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.2
    • Component/s: docs
    • beta
    • generic
    • generic



      Name: krT82822 Date: 08/18/99


      In the JavaDoc description of method
      ClassLoader.defineClass(String name, byte[] b, int off, int len),
      the semantics of the class name parameter are incompletely
      specified.

      The method description does not mention the name parameter,
      and the parameter description says only:

         name - the expected name of the class, or null if not known,
            using '.' and not '/' as the separator and without a
            trailing ".class" suffix.

      Specifically, the documentation does not say what it done with
      the name, what concrete conditions must be satisfied (the
      loaded class must match it?), or what happens if those
      conditions are not satisfied.



      (Additionally, the SecurityException case description says
      "a different set of certificates then this class.")



      DSB/DFI
      (Review ID: 94064)
      ======================================================================

            Assignee:
            Scott Hommel (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: