< prev index next >

test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaField.java

Print this page

        

@@ -48,11 +48,10 @@
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
 import jdk.vm.ci.meta.JavaConstant;
-import jdk.vm.ci.meta.LocationIdentity;
 import jdk.vm.ci.meta.ResolvedJavaField;
 import jdk.vm.ci.meta.ResolvedJavaMethod;
 
 import org.junit.Test;
 

@@ -101,18 +100,10 @@
                 }
             }
         }
     }
 
-    @Test
-    public void getLocationIdentityTest() {
-        for (Map.Entry<Field, ResolvedJavaField> e : fields.entrySet()) {
-            LocationIdentity identity = e.getValue().getLocationIdentity();
-            assertTrue(identity != null);
-        }
-    }
-
     static class ReadConstantValueTestConstants {
         String stringField = "field";
         final String constantStringField = "constantField";
 
         static final Object CONST1 = new ReadConstantValueTestConstants();
< prev index next >