This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new abd36df fix some method exception error (#7210)
abd36df is described below
commit abd36dfc94d862309db8810973f4a822dae227b2
Author: hn <[email protected]>
AuthorDate: Thu Jul 1 10:59:03 2021 +0800
fix some method exception error (#7210)
---
CHANGES.md | 1 +
.../apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES.md b/CHANGES.md
index 589459b..edfbaed 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -24,6 +24,7 @@ Release Notes.
* Correct `profile.duration` to `profile.max_duration` in the default
`agent.config` file.
* Fix the response time of gRPC.
* Add `ShardingSphere-5.0.0-beta` plugin.
+* Fix some method exception error.
#### OAP-Backend
diff --git
a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java
b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java
index 06b82c4..7eb1809 100644
---
a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java
+++
b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java
@@ -134,7 +134,7 @@ public class SnifferConfigInitializer {
}
}
- private static void overrideConfigByAgentOptions(String agentOptions)
throws IllegalAccessException {
+ private static void overrideConfigByAgentOptions(String agentOptions)
throws IllegalArgumentException {
for (List<String> terms : parseAgentOptions(agentOptions)) {
if (terms.size() != 2) {
throw new IllegalArgumentException("[" + terms + "] is not a
key-value pair.");