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:
committed by
Phillip Webb
parent
41cdbd292a
commit
f6f0adf63b
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user