Fixing warnings and harness around running Java8 tests and separate JVM tests
This commit is contained in:
@@ -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;
|
||||
|
||||
2
testdata/src/main/java/executor/I2.java
vendored
2
testdata/src/main/java/executor/I2.java
vendored
@@ -1,6 +1,6 @@
|
||||
package executor;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
//@SuppressWarnings("unused")
|
||||
public interface I2 {
|
||||
|
||||
// annotation removed
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@ import reflection.AnnoT;
|
||||
import reflection.AnnoT2;
|
||||
import reflection.AnnoT3;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
//@SuppressWarnings("unused")
|
||||
public class ClassTarget003 {
|
||||
|
||||
@AnnoT3("field")
|
||||
|
||||
Reference in New Issue
Block a user