Skip to content

Commit

Permalink
Add Graal Class Substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
luneo7 committed Jun 11, 2021
1 parent 3a4903f commit 4fc6d31
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package io.quarkus.opentelemetry.runtime.graal;

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

import io.opentelemetry.sdk.OpenTelemetrySdk;

@TargetClass(className = "io.opentelemetry.sdk.autoconfigure.OpenTelemetrySdkAutoConfiguration")
@Substitute
public final class OpenTelemetrySdkAutoConfiguration {
@Substitute
private OpenTelemetrySdkAutoConfiguration() {
}

@Substitute
public static OpenTelemetrySdk initialize() {
return null;
}
}

0 comments on commit 4fc6d31

Please sign in to comment.