Allow instrumentation to be used with Attach API

Update InstrumentationSavingAgent to allow it to be used with the
Attach API

Issue: SPR-11083
This commit is contained in:
Christian Dupuis
2013-11-11 16:23:10 +01:00
committed by Phillip Webb
parent 41cdbd292a
commit f6f0adf63b
2 changed files with 13 additions and 3 deletions

View File

@@ -327,6 +327,8 @@ project("spring-instrument") {
jar {
manifest.attributes["Premain-Class"] =
"org.springframework.instrument.InstrumentationSavingAgent"
manifest.attributes["Agent-Class"] =
"org.springframework.instrument.InstrumentationSavingAgent"
manifest.attributes["Can-Redefine-Classes"] = "true"
manifest.attributes["Can-Retransform-Classes"] = "true"
manifest.attributes["Can-Set-Native-Method-Prefix"] = "false"