Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Release Notes.

* Upgrade nats plugin to support 2.16.5
* Add agent self-observability.
* Fix intermittent ClassCircularityError by preloading ThreadLocalRandom since ByteBuddy 1.12.11


All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/222?closed=1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
public class PluginBootstrap {
private static final ILog LOGGER = LogManager.getLogger(PluginBootstrap.class);

// Preload ThreadLocalRandom in case of intermittent ClassCircularityError since ByteBuddy 1.12.11
static {
try {
Class.forName("java.util.concurrent.ThreadLocalRandom");
} catch (Exception e) {
LOGGER.warn(e, "Preload ThreadLocalRandom failure.");
}
}

/**
* load all plugins.
*
Expand Down