Add @UsesUnsafeJava annotation

Add a new annotation to indicate to Animal Sniffer that a method uses
a call to `Unsafe`.

Closes gh-3080
This commit is contained in:
Phillip Webb
2015-05-29 23:40:25 -07:00
parent 373338124d
commit b41f852338
3 changed files with 55 additions and 0 deletions

View File

@@ -513,6 +513,7 @@
<annotations>
<annotation>org.springframework.lang.UsesJava8</annotation>
<annotation>org.springframework.lang.UsesJava7</annotation>
<annotation>org.springframework.boot.lang.UsesUnsafeJava</annotation>
</annotations>
</configuration>
<executions>