Fixing warnings and harness around running Java8 tests and separate JVM tests

This commit is contained in:
Andy Clement
2014-02-26 13:16:57 -08:00
parent b474237898
commit ee3b3acc2f
17 changed files with 30 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ public class HelloWorldClinit002 {
}
static {
int i = 1;
@SuppressWarnings("unused") int i = 1;
int j = 2;
for (int k = 0; k < 5; k++) {
i += j;

View File

@@ -1,6 +1,6 @@
package executor;
@SuppressWarnings("unused")
//@SuppressWarnings("unused")
public interface I2 {
// annotation removed

View File

@@ -17,7 +17,7 @@ public class ClassWithAnnotatedConstructors {
// - constructors with changed annotations
//The annotation will be removed
@SuppressWarnings("unused")
// @SuppressWarnings("unused")
private @AnnoT ClassWithAnnotatedConstructors() {}
//The attribute value will be changed

View File

@@ -4,7 +4,7 @@ import reflection.AnnoT;
import reflection.AnnoT2;
import reflection.AnnoT3;
@SuppressWarnings("unused")
//@SuppressWarnings("unused")
public class ClassTarget003 {
@AnnoT3("field")