test/tools/javac/valhalla/minimalvalues/Point.java

Print this page

        

*** 19,28 **** * 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. */ ! @jvm.internal.value.DeriveValueType final class Point { final int x = 0; final int y = 0; } --- 19,28 ---- * 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. */ ! @jvm.internal.value.ValueCapableClass final class Point { final int x = 0; final int y = 0; }