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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: