Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ConstantReflectionProvider.java @ 22673:3e573d7d32a7
Remove forObject method from ConstantReflectionProvider.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Fri, 09 Oct 2015 14:43:07 +0200 |
parents | 1bbd4a7c274b |
children | f4c4cc22a31c |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ConstantReflectionProvider.java Thu Oct 08 17:28:41 2015 -0700 +++ b/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ConstantReflectionProvider.java Fri Oct 09 14:43:07 2015 +0200 @@ -134,12 +134,6 @@ JavaConstant forString(String value); /** - * Boxes a raw object as a {@link JavaConstant}. May return {@code null} if the object can not - * be transferred from the compiler VM to the runtime VM. - */ - JavaConstant forObject(Object value); - - /** * Returns the {@link ResolvedJavaType} for a {@link Class} object (or any other object regarded * as a class by the VM) encapsulated in the given constant. Returns {@code null} if the * constant does not encapsulate a class, or if the type is not available at this point.