< prev index next >

src/java.base/share/classes/java/lang/LiveStackFrame.java

Print this page

        

@@ -59,10 +59,13 @@
      * a value of type long or type double occupies two consecutive local
      * variables.  For a value of primitive type, the element in the
      * local variable array is an {@link PrimitiveValue} object;
      * otherwise, the element is an {@code Object}.
      *
+     * <p>The returned array may contain null entries if a local variable is not
+     * live.
+     * 
      * @return  the local variable array of this stack frame.
      */
     public Object[] getLocals();
 
     /**
< prev index next >