Skip to content

Commit 759c45f

Browse files
authored
Ignore classes starting with "sun.nio.cs" in bytebuddy due to potential class loading deadlock (#785)
1 parent aee6f46 commit 759c45f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Release Notes.
2727
* Bump up Lombok to v1.18.42 to adopt JDK25 compiling.
2828
* Add `eclipse-temurin:25-jre` as another base image.
2929
* Add JDK25 plugin tests for Spring 6.
30+
* Ignore classes starting with "sun.nio.cs" in bytebuddy due to potential class loading deadlock.
3031

3132
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/242?closed=1)
3233

apm-sniffer/apm-agent/src/main/java/org/apache/skywalking/apm/agent/SkyWalkingAgent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ static void installClassTransformer(Instrumentation instrumentation, PluginFinde
128128
.or(nameContains(".asm."))
129129
.or(nameContains(".reflectasm."))
130130
.or(nameStartsWith("sun.reflect"))
131+
.or(nameStartsWith("sun.nio.cs"))
131132
.or(allSkyWalkingAgentExcludeToolkit())
132133
.or(ElementMatchers.isSynthetic()));
133134

0 commit comments

Comments
 (0)