Skip to content

Commit 85d7417

Browse files
authored
Replace GPL licensed Random with MIT licensed PCG random (#4664)
* Replace GPL licensed Random with MIT licensed PCG random * changelog * changelog again
1 parent 7314dbe commit 85d7417

File tree

3 files changed

+264
-377
lines changed

3 files changed

+264
-377
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Add support for Spring Boot 4 and Spring 7 ([#4601](https://github.com/getsentry/sentry-java/pull/4601))
88
- NOTE: Our `sentry-opentelemetry-agentless-spring` is not working yet for Spring Boot 4. Please use `sentry-opentelemetry-agent` until OpenTelemetry has support for Spring Boot 4.
99
- Replace `UUIDGenerator` implementation with Apache licensed code ([#4662](https://github.com/getsentry/sentry-java/pull/4662))
10+
- Replace `Random` implementation with MIT licensed code ([#4664](https://github.com/getsentry/sentry-java/pull/4664))
1011

1112
## 8.20.0
1213

sentry/api/sentry.api

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6986,15 +6986,22 @@ public final class io/sentry/util/PropagationTargetsUtils {
69866986

69876987
public final class io/sentry/util/Random : java/io/Serializable {
69886988
public fun <init> ()V
6989-
public fun <init> (J)V
6989+
public fun <init> (JJ)V
69906990
public fun nextBoolean ()Z
6991+
public fun nextBoolean (D)Z
6992+
public fun nextByte ()B
69916993
public fun nextBytes ([B)V
6994+
public fun nextChar ()C
69926995
public fun nextDouble ()D
6996+
public fun nextDouble (ZZ)D
69936997
public fun nextFloat ()F
6998+
public fun nextFloat (ZZ)F
69946999
public fun nextInt ()I
69957000
public fun nextInt (I)I
69967001
public fun nextLong ()J
6997-
public fun setSeed (J)V
7002+
public fun nextLong (J)J
7003+
public fun nextShort ()S
7004+
public fun setSeed (JJ)V
69987005
}
69997006

70007007
public final class io/sentry/util/SampleRateUtils {

0 commit comments

Comments
 (0)