Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java @ 23374:acae988d96ad
Remove ResolvedJavaType.getClassFilePath
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 29 Apr 2016 14:47:29 -0700 |
parents | 802821d82a92 |
children | 3f70efb8f473 |
comparison
equal
deleted
inserted
replaced
23373:802821d82a92 | 23374:acae988d96ad |
---|---|
31 import java.lang.annotation.Annotation; | 31 import java.lang.annotation.Annotation; |
32 import java.lang.reflect.Array; | 32 import java.lang.reflect.Array; |
33 import java.lang.reflect.Constructor; | 33 import java.lang.reflect.Constructor; |
34 import java.lang.reflect.Method; | 34 import java.lang.reflect.Method; |
35 import java.lang.reflect.Modifier; | 35 import java.lang.reflect.Modifier; |
36 import java.net.URL; | |
37 import java.nio.ByteOrder; | 36 import java.nio.ByteOrder; |
38 import java.util.ArrayList; | 37 import java.util.ArrayList; |
39 import java.util.Arrays; | 38 import java.util.Arrays; |
40 import java.util.HashMap; | 39 import java.util.HashMap; |
41 | 40 |
47 import jdk.vm.ci.meta.Assumptions.NoFinalizableSubclass; | 46 import jdk.vm.ci.meta.Assumptions.NoFinalizableSubclass; |
48 import jdk.vm.ci.meta.Constant; | 47 import jdk.vm.ci.meta.Constant; |
49 import jdk.vm.ci.meta.JavaConstant; | 48 import jdk.vm.ci.meta.JavaConstant; |
50 import jdk.vm.ci.meta.JavaKind; | 49 import jdk.vm.ci.meta.JavaKind; |
51 import jdk.vm.ci.meta.JavaType; | 50 import jdk.vm.ci.meta.JavaType; |
52 import jdk.vm.ci.meta.MetaUtil; | |
53 import jdk.vm.ci.meta.ModifiersProvider; | 51 import jdk.vm.ci.meta.ModifiersProvider; |
54 import jdk.vm.ci.meta.ResolvedJavaField; | 52 import jdk.vm.ci.meta.ResolvedJavaField; |
55 import jdk.vm.ci.meta.ResolvedJavaMethod; | 53 import jdk.vm.ci.meta.ResolvedJavaMethod; |
56 import jdk.vm.ci.meta.ResolvedJavaType; | 54 import jdk.vm.ci.meta.ResolvedJavaType; |
57 | 55 |
850 } | 848 } |
851 return null; | 849 return null; |
852 } | 850 } |
853 | 851 |
854 @Override | 852 @Override |
855 public URL getClassFilePath() { | |
856 Class<?> cls = mirror(); | |
857 return cls.getResource(MetaUtil.getSimpleName(cls, true).replace('.', '$') + ".class"); | |
858 } | |
859 | |
860 @Override | |
861 public boolean isLocal() { | 853 public boolean isLocal() { |
862 return mirror().isLocalClass(); | 854 return mirror().isLocalClass(); |
863 } | 855 } |
864 | 856 |
865 @Override | 857 @Override |