Skip to content

Commit a8c6e1b

Browse files
authored
Merge branch 'master' into alejandro.gonzalez/weak-randomness-false-positives
2 parents 8c9abd5 + ccc22c5 commit a8c6e1b

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.circleci/config.continue.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ instrumentation_modules: &instrumentation_modules "dd-java-agent/instrumentation
3636
debugger_modules: &debugger_modules "dd-java-agent/agent-debugger|dd-java-agent/agent-bootstrap|dd-java-agent/agent-builder|internal-api|communication|dd-trace-core"
3737
profiling_modules: &profiling_modules "dd-java-agent/agent-profiling"
3838

39-
default_system_tests_commit: &default_system_tests_commit d4974a9d88a10a70a8688afd08697affb5e82261
39+
default_system_tests_commit: &default_system_tests_commit 0509dbd094c9cbf15f58db96f62276a0adff7efa
4040

4141
parameters:
4242
nightly:

dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap/AgentJarIndex.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) {
142142
if (null != prefixRoot) {
143143
String entryKey = computeEntryKey(prefixRoot.relativize(file));
144144
if (null != entryKey) {
145+
int existingPrefixId = prefixTrie.apply(entryKey);
146+
if (-1 != existingPrefixId && prefixId != existingPrefixId) {
147+
log.warn(
148+
"Detected duplicate content under '{}'. Ensure your content is under a distinct directory.",
149+
entryKey);
150+
}
145151
prefixTrie.put(entryKey, prefixId);
146152
if (entryKey.endsWith("*")) {
147153
// optimization: wildcard will match everything under here so can skip

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ moshi = '1.11.0'
2929
testcontainers = '1.20.1'
3030
jmc = "8.1.0"
3131
autoservice = "1.0-rc7"
32-
ddprof = "1.21.1"
32+
ddprof = "1.22.0"
3333
asm = "9.7.1"
3434
cafe_crypto = "0.1.0"
3535
lz4 = "1.7.1"

0 commit comments

Comments
 (0)