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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 1.4.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: