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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 6
    • 5.0
    • core-svc
    • None
    • b47
    • generic
    • generic

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: