All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newrelic.weave.violation.FIELD_SERIALVERSIONUID_UNSUPPORTED.md Maven / Gradle / Ivy

There is a newer version: 8.17.0
Show newest version
## FIELD_SERIALVERSIONUID_UNSUPPORTED ##

###Description###

This violation was raised because the @Weave class is attempting to match on the Java internal serialVersionUID field.

###Example###

####Original Class####
```
public class Example {

    public static long serialVersionUID = -1L;

}
```


####Bad####
```
@Weave
public class Example {

    public static long serialVersionUID = Weaver.callOriginal();

}
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy