< prev index next >

test/jdk/valhalla/valuetypes/Line.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 final value class Line { public Point p1; public Point p2; Line () { this.p1 = Point.makePoint(0, 0); this.p2 = Point.makePoint(0, 0); --- 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 final inline class Line { public Point p1; public Point p2; Line () { this.p1 = Point.makePoint(0, 0); this.p2 = Point.makePoint(0, 0);
< prev index next >