test/langtools/tools/javac/var_implicit_lambda/VarInImplicitLambdaNegTest01_source10.out
author chegar
Thu, 17 Oct 2019 20:54:25 +0100
branchdatagramsocketimpl-branch
changeset 58679 9c3209ff7550
parent 58678 9cf78a70fa4f
parent 58203 dfd434203aa0
permissions -rw-r--r--
datagramsocketimpl-branch: merge with default
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
58203
dfd434203aa0 8228460: bootstrap class path not set in conjunction with -source 11
jlahoda
parents: 55306
diff changeset
     1
- compiler.warn.source.no.system.modules.path: 10
52016
9ea22a0f9540 8211148: var in implicit lambdas shouldn't be accepted for source < 11
vromero
parents:
diff changeset
     2
VarInImplicitLambdaNegTest01.java:12:36: compiler.err.feature.not.supported.in.source.plural: (compiler.misc.feature.var.syntax.in.implicit.lambda), 10, 11
9ea22a0f9540 8211148: var in implicit lambdas shouldn't be accepted for source < 11
vromero
parents:
diff changeset
     3
VarInImplicitLambdaNegTest01.java:15:28: compiler.err.invalid.lambda.parameter.declaration: (compiler.misc.implicit.and.explicit.not.allowed)
55306
ea43db53de91 8223305: Compiler support for Switch Expressions
jlahoda
parents: 52016
diff changeset
     4
VarInImplicitLambdaNegTest01.java:17:52: compiler.err.restricted.type.not.allowed.here: var
52016
9ea22a0f9540 8211148: var in implicit lambdas shouldn't be accepted for source < 11
vromero
parents:
diff changeset
     5
3 errors
9ea22a0f9540 8211148: var in implicit lambdas shouldn't be accepted for source < 11
vromero
parents:
diff changeset
     6
1 warning