(perf) ActivationGroup.createGroup shouldn't load group impl class in doPriv

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • beta
    • sparc
    • solaris_8

      The fix for 4179055 to ActivationGroup.createGroup added a doPrivileged block
      around loading the group implementation class. This doPrivileged block is
      unnecessary. The thinking was that it was needed to load an activation
      group implementation in a sun.* package. Instead, the sun.* class need not be
      loaded explicitly; the group implementation Class object for sun.rmi.server.ActivationGroupImpl can simply be referred to directly in the
      code. This code should be cleaned up (i.e., the doPrivileged block eliminated).

      Minor note: the bug number in the comment above the doPrivileged block is
      incorrect. It erroneously states the bug number as 4170955 instead of 4179055.

            Assignee:
            Ann Wollrath (Inactive)
            Reporter:
            Ann Wollrath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: