From f489c524bf1184f011473e3693d4d300369c6f20 Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Mon, 5 May 2014 14:33:41 -0700 Subject: [PATCH] Moving two tests which are currently supported only on Java 8 --- .../com/github/dcevm/test/fields/InstanceFieldHandleTest.java | 2 ++ .../com/github/dcevm/test/fields/StaticFieldHandleTest.java | 2 ++ 2 files changed, 4 insertions(+) rename dcevm/src/test/{java7 => java8}/com/github/dcevm/test/fields/InstanceFieldHandleTest.java (97%) rename dcevm/src/test/{java7 => java8}/com/github/dcevm/test/fields/StaticFieldHandleTest.java (97%) diff --git a/dcevm/src/test/java7/com/github/dcevm/test/fields/InstanceFieldHandleTest.java b/dcevm/src/test/java8/com/github/dcevm/test/fields/InstanceFieldHandleTest.java similarity index 97% rename from dcevm/src/test/java7/com/github/dcevm/test/fields/InstanceFieldHandleTest.java rename to dcevm/src/test/java8/com/github/dcevm/test/fields/InstanceFieldHandleTest.java index 4253c3b8..a47ce5c5 100644 --- a/dcevm/src/test/java7/com/github/dcevm/test/fields/InstanceFieldHandleTest.java +++ b/dcevm/src/test/java8/com/github/dcevm/test/fields/InstanceFieldHandleTest.java @@ -37,6 +37,8 @@ import static org.junit.Assert.assertEquals; /** * Test for replacing field with MethodHandle pointing to it. * + * Technically, should work for Java 7, but currently is not supported in Java 7. + * * @author Ivan Dubrov */ public class InstanceFieldHandleTest { diff --git a/dcevm/src/test/java7/com/github/dcevm/test/fields/StaticFieldHandleTest.java b/dcevm/src/test/java8/com/github/dcevm/test/fields/StaticFieldHandleTest.java similarity index 97% rename from dcevm/src/test/java7/com/github/dcevm/test/fields/StaticFieldHandleTest.java rename to dcevm/src/test/java8/com/github/dcevm/test/fields/StaticFieldHandleTest.java index 237cff25..ee669917 100644 --- a/dcevm/src/test/java7/com/github/dcevm/test/fields/StaticFieldHandleTest.java +++ b/dcevm/src/test/java8/com/github/dcevm/test/fields/StaticFieldHandleTest.java @@ -37,6 +37,8 @@ import static org.junit.Assert.assertEquals; /** * Test for replacing field with MethodHandle pointing to it. * + * Technically, should work for Java 7, but currently is not supported in Java 7. + * * @author Ivan Dubrov */ public class StaticFieldHandleTest { -- 2.39.5