Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotInstalledCode.java @ 15172:009d945ddc39
Add FindBugs SupressWarnings to HotSpotInstalledCode.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Apr 2014 19:47:22 +0200 |
parents | 2c940b1a48d8 |
children | 471e28b8f03b |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotInstalledCode.java Wed Apr 16 19:19:10 2014 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotInstalledCode.java Wed Apr 16 19:47:22 2014 +0200 @@ -27,6 +27,8 @@ import com.oracle.graal.api.code.*; +import edu.umd.cs.findbugs.annotations.*; + /** * Implementation of {@link InstalledCode} for HotSpot. */ @@ -35,17 +37,17 @@ /** * Total size of the code blob. */ - private int size; + @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "field is set by the native part") private int size; /** * Start address of the code. */ - private long codeStart; + @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "field is set by the native part") private long codeStart; /** * Size of the code. */ - private int codeSize; + @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "field is set by the native part") private int codeSize; /** * @return the total size of this code blob