1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: No longer use the @Generated annotation to build with Java 11
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/main/java/com/google/monitoring/runtime/instrumentation/Bootstrap.java.in
+++ b/src/main/java/com/google/monitoring/runtime/instrumentation/Bootstrap.java.in
@@ -4,7 +4,6 @@
import java.lang.reflect.Method;
import java.net.JarURLConnection;
import java.util.jar.JarFile;
-import javax.annotation.Generated;
/**
* Add the agent to the bootclasspath before invoking premain().
@@ -30,7 +29,6 @@
* <p>This file is pre-processed to include the correct name of the class being used as a premain
* before being compiled and integrated into the agent.
*/
-@Generated(value = "GENERATOR")
public class CLASS_NAMEBootstrap {
public static void premain(String agentArgs, Instrumentation inst) {
try {
|