Skip to content

Commit

Permalink
Merge pull request #23294 from famod/otel-1.10.1
Browse files Browse the repository at this point in the history
Update OpenTelemetry to 1.10.1
  • Loading branch information
geoand authored Jan 31, 2022
2 parents c6403e6 + aa5f3a3 commit 124a032
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<opentracing-jdbc.version>0.2.4</opentracing-jdbc.version>
<opentracing-kafka.version>0.1.15</opentracing-kafka.version>
<opentracing-mongo.version>0.1.5</opentracing-mongo.version>
<opentelemetry.version>1.9.1</opentelemetry.version>
<opentelemetry-alpha.version>1.9.0-alpha</opentelemetry-alpha.version>
<opentelemetry.version>1.10.1</opentelemetry.version>
<opentelemetry-alpha.version>1.10.1-alpha</opentelemetry-alpha.version>
<jaeger.version>1.8.0</jaeger.version>
<quarkus-http.version>4.1.4</quarkus-http.version>
<micrometer.version>1.8.2</micrometer.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package io.quarkus.opentelemetry.runtime.graal;

import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;
import java.util.function.Supplier;

import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;

@TargetClass(className = "io.opentelemetry.sdk.internal.RandomSupplier")
final class RandomSupplier {

@Substitute
public static Supplier<Random> platformDefault() {
// removed delegation to AndroidFriendlyRandomHolder (which has a Random constant), making it effectively unreachable
return ThreadLocalRandom::current;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.oracle.svm.core.annotate.TargetClass;

@TargetClass(className = "io.opentelemetry.internal.shaded.jctools.util.UnsafeRefArrayAccess")
public final class UnsafeRefArrayAccess {
final class UnsafeRefArrayAccess {

@Alias
@RecomputeFieldValue(kind = RecomputeFieldValue.Kind.ArrayIndexShift, declClass = Object[].class)
Expand Down

0 comments on commit 124a032

Please sign in to comment.