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.
- relates to
-
JDK-8165276 Spec states to invoke the premain method in an agent class if it's public but implementation differs
-
- Resolved
-