diff test/langtools/tools/javac/records/mandated_members/accessors/BadAccessorsTest.out @ 56894:fe2ae6f104db

issue an error if the accessor returned type doesnt match exactly with that of the corresponding component
author vromero
date Fri, 21 Jun 2019 16:25:21 -0400
parents
children e7455c3923d9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/langtools/tools/javac/records/mandated_members/accessors/BadAccessorsTest.out	Fri Jun 21 16:25:21 2019 -0400
@@ -0,0 +1,5 @@
+BadAccessorsTest.java:12:13: compiler.err.method.must.be.public: i
+BadAccessorsTest.java:13:21: compiler.err.method.must.be.public: j
+BadAccessorsTest.java:14:23: compiler.err.method.must.be.public: k
+BadAccessorsTest.java:16:21: compiler.err.accessor.return.type.doesnt.match
+4 errors