java.lang.instrument - agent's premain class need not be public

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: core-svc
    • None
    • b47
    • generic
    • generic

      java.lang.instrument specifies that the agent must implement a public static premain method. Currently (1.5.0-b57) it requires that the premain class be public. To be consistent with the Main-Class attribute the implementation should not require that the class be public.

            Assignee:
            Robert Field (Inactive)
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: