Add reflection config for JMX runtime (#10753)
Motivation: `DefaultChannelId` uses reflection to access the JMX runtime. This needs some extra config for GraalVM. Modification: Add config for GraalVM Result: Works when using GraalVM native image
This commit is contained in:
parent
81544ab94f
commit
d62384b227
@ -11,5 +11,23 @@
|
||||
{ "name": "selectedKeys", "allowUnsafeAccess" : true},
|
||||
{ "name": "publicSelectedKeys", "allowUnsafeAccess" : true}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "java.lang.management.ManagementFactory",
|
||||
"methods": [
|
||||
{
|
||||
"name": "getRuntimeMXBean",
|
||||
"parameterTypes": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "java.lang.management.RuntimeMXBean",
|
||||
"methods": [
|
||||
{
|
||||
"name": "getName",
|
||||
"parameterTypes": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user