changeset 7334:ffa9d429550e

fix warnings in snippets
author Lukas Stadler <lukas.stadler@jku.at>
date Fri, 11 Jan 2013 11:38:17 +0100
parents d91529efc642
children 501d254a0a3d
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/ThreadSnippets.java graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewArrayStub.java graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/NewInstanceStub.java
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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() {
--- 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) {
--- 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) {