com.newrelic.weave.violation.METHOD_NATIVE_UNSUPPORTED.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-weaver Show documentation
Show all versions of newrelic-weaver Show documentation
The Weaver of the Java agent.
## METHOD_NATIVE_UNSUPPORTED ##
###Description###
This violation was raised because the @Weave class is attempting to match a native method.
###Example###
####Original Class####
```
public class Example {
native void nativeMethod();
}
```
####Bad####
```
@Weave
public class Example {
native void nativeMethod() {
// This will fail
}
}
```
© 2015 - 2024 Weber Informatics LLC | Privacy Policy