< prev index next >

src/java.base/share/classes/java/lang/invoke/Stable.java

Print this page
rev 12617 : [mq]: 8134356-gt-lt-in-code

*** 49,59 **** * is not, the components of the array are <em>not</em> regarded as stable. * <p> * If the field is an array type, then both the field value and * all the components of the field value (if the field value is non-null) * are indicated to be stable. ! * If the field type is an array type with rank {@code N &gt; 1}, * then each component of the field value (if the field value is non-null), * is regarded as a stable array of rank {@code N-1}. * <p> * Fields which are declared {@code final} may also be annotated as stable. * Since final fields already behave as stable values, such an annotation --- 49,59 ---- * is not, the components of the array are <em>not</em> regarded as stable. * <p> * If the field is an array type, then both the field value and * all the components of the field value (if the field value is non-null) * are indicated to be stable. ! * If the field type is an array type with rank {@code N > 1}, * then each component of the field value (if the field value is non-null), * is regarded as a stable array of rank {@code N-1}. * <p> * Fields which are declared {@code final} may also be annotated as stable. * Since final fields already behave as stable values, such an annotation
< prev index next >