--- old/test/langtools/tools/javac/lambda/BadSwitchExpressionLambda.out 2018-08-01 08:09:12.431825648 +0200 +++ new/test/langtools/tools/javac/lambda/BadSwitchExpressionLambda.out 2018-08-01 08:09:12.135825662 +0200 @@ -1,4 +1,6 @@ -BadSwitchExpressionLambda.java:18:26: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.switch.expression.target.cant.be.void)) +BadSwitchExpressionLambda.java:19:26: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.switch.expression.target.cant.be.void)) +BadSwitchExpressionLambda.java:21:9: compiler.err.cant.apply.symbol: kindname.method, r, BadSwitchExpressionLambda.SAM, @11, kindname.class, BadSwitchExpressionLambda, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.switch.expression.target.cant.be.void))) +BadSwitchExpressionLambda.java:22:16: compiler.err.prob.found.req: (compiler.misc.unexpected.ret.val) - compiler.note.preview.filename: BadSwitchExpressionLambda.java - compiler.note.preview.recompile -1 error +3 errors