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

allow non-public activatable class and/or constructor

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      generic
    • OS:
      generic

      Description

      In an activatable class, the constructor that's called by the activation group is currently required to be public. Since this should normally only be called by the activation group, it seems like it would be nice to be able to declare it private.

      In a similar vein, if I have an activatable class, and I normally only want to hand out smart proxies to activatable instances, I might want to declare the activatable class with just package access, and provide a separate public class that can be used to create an activatable instance and get back a smart proxy (with the activatable stub inside). However, the activatable class is currently required to be public.

        Attachments

          Activity

            People

            • Assignee:
              ldorninsunw Laird Dornin (Inactive)
              Reporter:
              bscheiflsunw Bob Scheifler (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: