< prev index next >
test/jdk/valhalla/valuetypes/Point.java
Print this page
rev 55117 : 8223350: [lworld] Use inline classes instead of value classes
*** 19,29 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! public value class Point {
static final Object STATIC_FIELD = new Object();
public int x;
public int y;
Point () {
x = 10;
--- 19,29 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! public inline class Point {
static final Object STATIC_FIELD = new Object();
public int x;
public int y;
Point () {
x = 10;
< prev index next >