# HG changeset patch # User Thomas Wuerthinger # Date 1397670442 -7200 # Node ID 009d945ddc39a6915c2ac41f1110b71f62b8c80c # Parent 261a67e7a8f1c4c0dae20ce7b25dc42e490999e7 Add FindBugs SupressWarnings to HotSpotInstalledCode. diff -r 261a67e7a8f1 -r 009d945ddc39 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotInstalledCode.java --- 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