diff graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotConstantReflectionProvider.java @ 21643:2081f8f294fe

Fixed some javadoc
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 01 Jun 2015 11:49:57 -0700
parents 48c1ebd24120
children
line wrap: on
line diff
--- a/graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotConstantReflectionProvider.java	Mon Jun 01 18:13:48 2015 +0200
+++ b/graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotConstantReflectionProvider.java	Mon Jun 01 11:49:57 2015 -0700
@@ -97,7 +97,7 @@
     /**
      * Try to convert {@code offset} into an an index into {@code array}.
      *
-     * @return -1 if the offset isn't within the array or the computed index
+     * @return the computed index or -1 if the offset isn't within the array
      */
     private int indexForOffset(JavaConstant array, long offset) {
         if (array.getKind() != Kind.Object || array.isNull()) {