# HG changeset patch # User Lukas Stadler # Date 1357900697 -3600 # Node ID ffa9d429550ef9f801475b2ed95dd22044a121bd # Parent d91529efc642f4f9cf0e29d7f7d279aa89efcb31 fix warnings in snippets diff -r d91529efc642 -r ffa9d429550e graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/ThreadSnippets.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/ThreadSnippets.java Thu Jan 10 17:05:42 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/ThreadSnippets.java Fri Jan 11 11:38:17 2013 +0100 @@ -32,6 +32,7 @@ /** * Snippets for {@link java.lang.Thread} methods. */ +@SuppressWarnings("unused") @ClassSubstitution(java.lang.Thread.class) public class ThreadSnippets implements SnippetsInterface { public static Thread currentThread() { diff -r d91529efc642 -r ffa9d429550e graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java Thu Jan 10 17:05:42 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java Fri Jan 11 11:38:17 2013 +0100 @@ -44,6 +44,7 @@ * or allocate the object, it calls out to the HotSpot C++ runtime for * to complete the allocation. */ +@SuppressWarnings("unused") public class NewArrayStub extends Stub { public NewArrayStub(final HotSpotRuntime runtime, Assumptions assumptions, TargetDescription target) { diff -r d91529efc642 -r ffa9d429550e graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java Thu Jan 10 17:05:42 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java Fri Jan 11 11:38:17 2013 +0100 @@ -46,6 +46,7 @@ * or allocate the object, it calls out to the HotSpot C++ runtime for * to complete the allocation. */ +@SuppressWarnings("unused") public class NewInstanceStub extends Stub { public NewInstanceStub(final HotSpotRuntime runtime, Assumptions assumptions, TargetDescription target) {